Skip to content

Commit

Permalink
pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanW-W committed Oct 23, 2023
1 parent 1200dc7 commit 404e252
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
mypy copley
- name: Pytest
run: |
pytest copley
pytest tests
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ add_ignore = D104,D107

[tool:pytest]
asyncio_mode = auto
addopts = --cov=ika
addopts = --cov=copley

[tool:ruff]
target-version = "py38"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def driver():
return TapDensity(ADDRESS)


@mock.patch('copley.TapDensity.query')
@mock.patch('copley.TapDensity', TapDensity)
@mock.patch('copley.TapDensity.query')
def test_driver_cli(capsys):
"""Confirm the commandline interface works."""
command_line([ADDRESS])
Expand Down

0 comments on commit 404e252

Please sign in to comment.