Trax-air/swagger-tester

Tox tests don't run out of the box

Closed this issue · 1 comments

(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?

Sigh.