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
Can't run inside Eclipse #2
Comments
Finally got it to work.
At this point, the tests launch fine from eclipse, but the process hangs. I dug in and found out why: here. I don't like to modify odoo code, but I went ahead anyway. I made the following small modifications in Add this under And add this in the init method:
Then modify the condition in the And it works: Now even though this works, I'm quite new to Odoo and Python unit testing so I'm not fully aware of all the consequences. |
About the two lines I removed in |
How could I run the same in Eclipse? |
Hey, I'm really glad I found your plugin! And it works flawlessly in a terminal.
Now I'd like to use it with Eclipse's py.test runner. I tried (too) many things and I always end up with this:
I have this hierarchy:
I can run
pytest -v
in a terminal and it works fine, but not if I do Ctrl+F9 in test_session.py in eclipse.Any clue?
Thanks :)
The text was updated successfully, but these errors were encountered: