Skip to content

Commit 66bc266

Browse files
author
Alexander Willner
committed
try fixing CI
1 parent 387c2b0 commit 66bc266

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_things_cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"""Module documentation goes here."""
44

55
import io
6+
import pathlib
67
import sys
78
import unittest
89

@@ -12,7 +13,8 @@
1213
class ThingsCLICase(unittest.TestCase):
1314
"""Class documentation goes here."""
1415

15-
things3_cli = cli.ThingsCLI(database="tests/main.sqlite")
16+
path = pathlib.Path(__file__).parent.resolve()
17+
things3_cli = cli.ThingsCLI(database=f"{path}/tests/main.sqlite")
1618

1719
def _test_main(self, args, expected):
1820
new_out = io.StringIO()

0 commit comments

Comments
 (0)