-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail when trying relative conftest import #14
Comments
How did you run tests? We recommend you to use $ tox # tests run on py26,py27,py32,py33, and pypy
$ tox -e py27,py33 # tests run on only py27 and py33
$ tox -- -k store # `-k store` option is forwarded to py.test |
I'm making a package for linux distribution, more precisely nixos (it is On Fri, Sep 20, 2013 at 4:13 PM, Hong Minhee [email protected]:
|
Invoking |
I run it from root of the tree and i get this error. How could i debug this On Fri, Sep 20, 2013 at 8:19 PM, Hong Minhee [email protected]:
|
And yes, i'm using python 2.7 On Fri, Sep 20, 2013 at 11:41 PM, Jaka Hudoklin [email protected]:
|
I just noticed that the error type is not |
Okay here is the whole backtrace:
Sorry for wierd paths, but that is how nix package manager works (stores everything under /nix/store/hash+package_name). |
Could you paste the output of |
Okay i think i now see the problem too, looks like not all files are included in pypi archive. For now i will just switch to git as a source, but it would be nice to include missing files. Here is output of tree, right after failed tests. Sorry for those ugly chars, terminal copy makes problems.
|
That’s indeed problematic, so I will include these missing files as well. Thanks! |
tests/stores/conftest.py:7: in
I'm using pytest 2.3.5
How can i solve this? thanks!
The text was updated successfully, but these errors were encountered: