-
Notifications
You must be signed in to change notification settings - Fork 37
py.test ... --ruledir leads to "unrecognized arguments: --ruledir" #11
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 t 8000 o our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I tested it and I get the same error as @dune73. |
@franbuehler @dune73 just saw this, didnt have notifications on. Will look into it -- could be a versioning mismatch in the README |
I see. Yes, please help us to fix this. @csanders-git has written two blog posts for Core Rule Set and they both don't work because of this bug. Also: Can we reach you via email? Mine is christian.folini@netnea.com |
hi @dune73 and @franbuehler It automatically closed this issue on that merge, so I reopened it. Are you spawning this in a virtualenvironment? Try these install steps:
then
|
Thank you. I'll try it again and report back. |
No luck. Here is what I did:
There is this remark Also: You removed the example call from your README.md. |
Do you have FTW installed globally?
Also what is your python version? Edit: I replicated your bug. Sorry about this -- the tl;dr is that I removed I removed it because I shipped it into The fix here is then to add Otherwise, if youd like to use FTW in a completely separate project, nothing should change, just I'm submitting a P/R to fix this and will update the README. |
Can you try #14 @dune73 and @franbuehler and let me know if that works? Just replicated your bug locally and got it fixed with that P/R |
Much better. Thank you. But still not quite there:
My python version:
|
Whats your pytest version? |
Oops. Is that python3.5 the problem? |
It could be -- virtualenv shouldve dropped you into python 2.7. Can you |
Then youd drop back into the virtualenv, make sure the version is in the local path and test again. It works with fresh virtualenv with me for the fix, I have to update the tests to import correctly now, though. |
What does deactivate mean? |
@dune73 deactivate your virtual environment |
Thanks. Got it at last. OK, I applied #14 to FTW and ran through the README and it worked.
That's great. The sooner you merge, the better. ;) |
@dune73 yay! Sorry about the confusion. Ill need to get this approved then Ill tag and rerelease to pypi. If you find me on IRC i can give you a better explanation on what happened |
Time to get my feet wet with this, but the README.md does not work for me.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: