-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
60 additions
and
31 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
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
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
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
10 changes: 9 additions & 1 deletion
10
tests/examples/test_multiprocess_container_cleanup_race_condition/conftest.py
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,3 +1,11 @@ | ||
from pytest_mock_resources import create_postgres_fixture | ||
import pytest | ||
|
||
from pytest_mock_resources import create_postgres_fixture, PostgresConfig | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def pmr_postgres_config(): | ||
return PostgresConfig(port=5433) | ||
|
||
|
||
pg = create_postgres_fixture() |
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,3 +1,11 @@ | ||
from pytest_mock_resources import create_redis_fixture | ||
import pytest | ||
|
||
from pytest_mock_resources import create_redis_fixture, RedisConfig | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def pmr_redis_config(): | ||
return RedisConfig(port=6380) | ||
|
||
|
||
redis = create_redis_fixture() |