-
Notifications
You must be signed in to change notification settings - Fork 3
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
cannot import unpythonic.test.fixtures
#81
Comments
Hi, Thanks for reporting! In theory, Also, glad to hear you're trying out As for the report:
|
Fixed in |
currently works only by cloning and installing as editable. see Technologicat/unpythonic#81 for updates.
Thanks! that's great I'll try it out right away
I can relate to this dilemma, for my two cents:
Will do once I get some more intense usage from it. I only got it working so far, and only had time to write a couple of tests so far. |
I changed my |
Ok, thanks for testing! Since you mentioned Maybe I should point out here why I ended up developing
Out from a discussion on the But once I saw that textbook explanation... I wanted one package that would have accurate test coverage reporting, the functionality of Hence
EDIT: added discussion link. |
Okay that's a cool explanation, but for the record, I totally meant (I'll edit the comment 😅 ) |
No problem, I thought that might be it, but decided to warn about the incompatibility just in case. :) (Should benefit future readers, too, if anyone ends up here via Google.) As for Also, Since the test framework is getting correctly installed for both of us now, I'll close this issue. Feel free to open another one for any feedback, discussion, bug reports, or the like. |
|
I'm trying to use the test framework. and as the title says I'm unable to import
unpythonic.test.fixtures
, orunpythonic.test
in general.It seems the test directory is not installed at all on my system when I look in
<venv>/lib/site-packages/unpythonic
.I initially installed from pypi, and got the error, then tried to install directly from github, and still got the error.
I only got it working by cloning the repo, and installing it with
editable = true
in the pipfile (equivalent of -e flag for pip), and still needed to installmcpyrate
separately to actually import it without crashing (otherwise I got aNo module named 'mcpyrate'
error).Oh and of course I tried both v0.15.0 and v0.14.3 (just in case, although both their releases contains the
test.fixtures
module), and got the same results, giving same results.Is this supposed to work this way? I can understand why the test dir would not be packaged in most cases, but here it seems that the tests actually include files which should be packaged, but are not.
a few factors that might be relevant:
The text was updated successfully, but these errors were encountered: