Skip to content
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

WIP: Fix tests after calling fixture functions directly became an error\ #34

Closed

Conversation

butla
Copy link

@butla butla commented Jan 13, 2019

This is still work in progress, cause I only fixed one file.
I'm not sure if I should carry on with this fix, though, cause the other broken file - test_docker_services.py has brittle, mock-ridden tests, which I would gladly replace with some functional tests that don't rely on mocking.

Because docker_ip is a session scoped fixture, to reset it we
need to run it in an isolated test session every time.
@Luminaar
Copy link
Collaborator

Hello @butla!
I've taken over as a maintainer of this project.
Since problem was resolved in another PR so I'm closing this. I you are still interested in improving tests, I'll be happy for any future PRs.

@Luminaar Luminaar closed this Dec 11, 2019
@butla
Copy link
Author

butla commented Dec 11, 2019

Ok, roger that. I had some ideas in my personal backlog, but never got the time to implement them. And I probably won't have that time now, cause nowadays I'm just keeping Compose running in the background all the time instead of using pytest-docker to put it up and close it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants