Skip to content

Commit

Permalink
feat(dev): add and utilize external mock with pytest-mock
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Mar 27, 2023
1 parent 7733f24 commit 79b3d96
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 1 deletion.
78 changes: 77 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ flaky = "^3.7.0"
coveralls = "^3.0"
codacy-coverage = "^1.3"
pytest-clarity = "^1.0.1"
mock = "^5.0.1"

[tool.poetry.group.docs]
optional = true
Expand Down Expand Up @@ -184,6 +185,7 @@ collect_ignore = ['setup.py', 'micropy/lib/*', 'micropy/lib/**/*']
testpaths = "tests"
addopts = "--maxprocesses=4 -ra -q"
norecursedirs = "micropy/lib"
mock_use_standalone_module = true

[tool.coverage.run]
source = ["micropy"]
Expand Down

0 comments on commit 79b3d96

Please sign in to comment.