-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
RabbitMQ service not found when running pytest with poetry #232
Comments
I'll note that this might not be an essential fix since debugging via container still works. |
I'd suggest you to run the whole test-suite with docker-compose. To do so you can just run
This command will work for sure, because that's how I test if all configurations work. The only note here is that you might want to update env variables. |
Can confirm that this method still works. A bit of background in case anyone else runs into this issue- The reason I wanted to run the tests using Poetry is because I wanted to have my personal
|
Closing the issues, because you found a way to solve it. Thanks for your response. |
Problem
As the generated
README.md
suggests, I am running postgres with the command:and then attemping to run pytest via the command
poetry run pytest -vv .
The problem is that 2/5 of the tests (the ones defined in the filetest_rabbit.py
) fail because it cannot resolve theampq
url for the rabbitMQ service.After messing with it a bit, I cannot figure out an easy way to launch an instance of rabbitMQ as a stand-alone container.
Full output
The text was updated successfully, but these errors were encountered: