diff options
Diffstat (limited to 'tests/test_windows.py')
| -rw-r--r-- | tests/test_windows.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/test_windows.py b/tests/test_windows.py index c1d7bca..85ab93f 100644 --- a/tests/test_windows.py +++ b/tests/test_windows.py @@ -2,24 +2,24 @@ import platform import unittest -@unittest.skipIf(platform.system() != 'Windows', 'Windows only tests') +@unittest.skipIf(platform.system() != "Windows", "Windows only tests") class WindowsTestCase(unittest.TestCase): def test_windows_path_sanity(self): - ''' + """ This test case is a no-op, and exists only to ensure that windows paths work as part of the windows sanity ci test. - ''' - print('sanity passed - test was run') + """ + print("sanity passed - test was run") def test_mslex_install(self): - '''Ensure that mslex is installed on Windows''' + """Ensure that mslex is installed on Windows""" try: import mslex # type: ignore # pylint: disable=W0611,C0415 # noqa: F401 except ImportError: - self.fail('Unable to import mslex') + self.fail("Unable to import mslex") def test_mslex_import(self): - '''Ensure that mslex is used as shlex''' + """Ensure that mslex is used as shlex""" from taskipy.task_runner import shlex # pylint: disable=C0415 - self.assertEqual(shlex.__name__, 'mslex') + self.assertEqual(shlex.__name__, "mslex") |