Trax-air / swagger-tester

Automatically test your swagger API
MIT License
105 stars 36 forks source link

Tox tests don't run out of the box #42

Closed ssteinerx closed 7 years ago

ssteinerx commented 7 years ago

(coming back several hours later)

There was a space in the real path.

Seriously, like, seriously?


Fresh install, Python 2.7 either in virtualenv or in no virtualenv, installed only tox (and dependencies, obviously).

# tox
GLOB sdist-make: /Users/ssteiner/path with space/swagger-tester/setup.py
py27 create: /Users/ssteiner/path with space/swagger-tester/.tox/py27
py27 inst: /Users/ssteiner/path with space/swagger-tester/.tox/dist/swagger_tester-0.2.7.zip
ERROR: invocation failed (errno 2), args: ...<the traceback>

So, tox can't find the distribution to install.

Thinking that maybe there was an assumption that the distribution files would be there, I tried:

# python setup.py develop
# tox

That failed the same way, so I tried # make dist prior to the tox call with identical results.

Even tried adding setup.py develop to [testenv] commands section, but it's failing before it even gets there.

# make test works, # make test-all fails as above.

Am I just missing something blindingly stupid in my "oh crap, I woke up with a cold this morning" state? NOTE: YES, tox fails with space in path, really?

ssteinerx commented 7 years ago

Sigh.