Skip to content

Commit 7b50030

Browse files
author
Alexander Willner
committed
try fixing CI
1 parent 66bc266 commit 7b50030

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_things_cli.py

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

55
import io
6-
import pathlib
76
import sys
87
import unittest
98

@@ -13,8 +12,7 @@
1312
class ThingsCLICase(unittest.TestCase):
1413
"""Class documentation goes here."""
1514

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

1917
def _test_main(self, args, expected):
2018
new_out = io.StringIO()
@@ -32,7 +30,7 @@ def test_methods(self):
3230
for command in parser._subparsers._actions[
3331
1
3432
].choices: # noqa # pylint: disable=protected-access
35-
if command not in ["feedback", "search", "logtoday"]:
33+
if command not in ["feedback", "search", "logtoday", "createdtoday"]:
3634
args = parser.parse_args([command])
3735
self._test_main(args, " ")
3836
args = parser.parse_args(["-r", command])

0 commit comments

Comments
 (0)