-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make docker_compose_cm a contextmanager rather than a fixture (#7905)
Summary: I would like to use this in a session-scoped fixture, but i can't, because its a module-scoped fixture. Instead, make the cm a contextmanager, and docker_compose() the fixture. Test Plan: BK
- Loading branch information
Showing
2 changed files
with
40 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
from .docker_compose import docker_compose, docker_compose_cm | ||
from .docker_compose import ( | ||
default_docker_compose_yml, | ||
docker_compose, | ||
docker_compose_cm, | ||
docker_compose_cm_fixture, | ||
) | ||
from .utils import retrying_requests, test_directory, test_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters