We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387c2b0 commit 66bc266Copy full SHA for 66bc266
tests/test_things_cli.py
@@ -3,6 +3,7 @@
3
"""Module documentation goes here."""
4
5
import io
6
+import pathlib
7
import sys
8
import unittest
9
@@ -12,7 +13,8 @@
12
13
class ThingsCLICase(unittest.TestCase):
14
"""Class documentation goes here."""
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")
18
19
def _test_main(self, args, expected):
20
new_out = io.StringIO()
0 commit comments