[test] Make the tests pass even when we use relative imports
This commit is contained in:
parent
8c0eff5693
commit
ddbfec4e54
1 changed files with 3 additions and 1 deletions
4
tests.py
4
tests.py
|
|
@ -1,2 +1,4 @@
|
||||||
def test_initial_layout(snap_compare): # pyright: ignore[reportMissingParameterType, reportUnknownParameterType]
|
def test_initial_layout(snap_compare): # pyright: ignore[reportMissingParameterType, reportUnknownParameterType]
|
||||||
assert snap_compare("src/teilchensammler_cli/main.py", terminal_size=(130, 40))
|
from teilchensammler_cli.main import app
|
||||||
|
|
||||||
|
assert snap_compare(app, terminal_size=(130, 40))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue