Skip to content

Commit b7c3ddc

Browse files
fix(tests): temporarily use relative imports in root tests
- works around: https://www.github.com/juspay/omnix/issues/425 Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
1 parent acac2f8 commit b7c3ddc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/python_nix_template/tests/test_main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
from python_nix_template import main
1+
# TODO: restore absolute imports when
2+
# https://github.com/juspay/omnix/issues/425
3+
# is resolved
4+
# from python_nix_template import main
5+
from .. import main
26

37

48
def test_main(capsys):

0 commit comments

Comments
 (0)