forked from pool/python-tasklib
- Add patch disabling one test that is specific to windows only: * disable-windows-test.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tasklib?expand=0&rev=2
25 lines
808 B
Diff
25 lines
808 B
Diff
Index: tasklib-1.3.0/tasklib/tests.py
|
|
===================================================================
|
|
--- tasklib-1.3.0.orig/tasklib/tests.py
|
|
+++ tasklib-1.3.0/tasklib/tests.py
|
|
@@ -64,19 +64,6 @@ class TasklibTest(unittest.TestCase):
|
|
shutil.rmtree(self.tmp)
|
|
|
|
|
|
-class TaskWarriorTest(TasklibTest):
|
|
-
|
|
- def test_custom_command(self):
|
|
- # ensure that a custom command which contains multiple parts
|
|
- # is properly split up
|
|
- tw = self.get_taskwarrior(
|
|
- task_command='wsl task',
|
|
- # prevent `_get_version` from running as `wsl` may not exist
|
|
- version_override=os.getenv('TASK_VERSION'),
|
|
- )
|
|
- self.assertEqual(tw._get_task_command(), ['wsl', 'task'])
|
|
-
|
|
-
|
|
class TaskFilterTest(TasklibTest):
|
|
|
|
def test_all_empty(self):
|