Skip to content

Commit

Permalink
fix: cli loading mechanism.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanCardin committed Mar 6, 2024
1 parent 23e40ad commit 971783c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -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 <oakhan3@gmail.com>",
Expand Down
4 changes: 3 additions & 1 deletion src/pytest_mock_resources/cli.py
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

0 comments on commit 971783c

Please sign in to comment.