Skip to content

Commit 6da9709

Browse files
committed
test: move v2-specific tests into legacy dir
1 parent f7363f3 commit 6da9709

File tree

6 files changed

+3
-2
lines changed

6 files changed

+3
-2
lines changed

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ check-ci = ["check", "lint", "format-check"]
8181
test-ci = ["test-once", "coverage-xml"]
8282

8383
[tool.pytest.ini_options]
84-
addopts = "--color=yes --mypy-ini-file=tests/typing/mypy.ini --mypy-only-local-stub"
84+
addopts = "--color=yes --mypy-ini-file=tests/legacy/typing/mypy.ini --mypy-only-local-stub"
8585
asyncio_mode = "auto"
8686
filterwarnings = ["error::decoy.warnings.DecoyWarning"]
8787

β€Žtests/legacy/__init__.pyβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Tests module for Decoy v2."""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from decoy import Decoy
66
from decoy.errors import MissingRehearsalError
77

8-
from .fixtures import SomeClass
8+
from ..fixtures import SomeClass
99

1010

1111
def test_property_missing_rehearsal(decoy: Decoy) -> None:

0 commit comments

Comments
Β (0)