diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-20 21:45:44 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-21 13:37:31 -0400 |
| commit | 7440cb1df506b6bd79c088fb30fe1d7d47b8bf87 (patch) | |
| tree | c716e298e3362cbea44bd0755001b5b4c93551a6 /tests/test_windows.py | |
| parent | Remove poetry lockfile (diff) | |
| download | taskipy2-7440cb1df506b6bd79c088fb30fe1d7d47b8bf87.zip | |
Replace pylint with black, isort, and ruff
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") |