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

fix: cli loading mechanism. #203

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytest-mock-resources"
version = "2.10.0"
version = "2.10.1"
description = "A pytest plugin for easily instantiating reproducible mock resources."
authors = [
"Omar Khan <[email protected]>",
Expand Down
4 changes: 3 additions & 1 deletion src/pytest_mock_resources/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
class StubPytestConfig:
pmr_multiprocess_safe = False
pmr_cleanup_container = False
pmr_docker_client = None

class option: # noqa: N801
pmr_multiprocess_safe = False
Expand All @@ -28,7 +29,8 @@ def main():
parser = create_parser()
args = parser.parse_args()

load_entrypoints(args.load)
if args.load:
load_entrypoints(args.load)

pytestconfig = StubPytestConfig()

Expand Down
Loading