refactor: ruff autofixes

This commit is contained in:
Mark Paronyan committed 2026-09-27 15:55:10 +03:00
1 parent 2ac637c662
commit a0450b6bce
455 files changed
+12322 -14762

No files matched your search

+3 -3
View File
@@ -23,7 +23,7 @@ from unittest.mock import MagicMock
from gns3server.utils.file_watcher import FileWatcher
@pytest.mark.parametrize("strategy", ['mtime', 'hash'])
@pytest.mark.parametrize("strategy", ["mtime", "hash"])
@pytest.mark.asyncio
async def test_file_watcher(tmpdir, strategy):
@@ -38,7 +38,7 @@ async def test_file_watcher(tmpdir, strategy):
callback.assert_called_with(str(file))
@pytest.mark.parametrize("strategy", ['mtime', 'hash'])
@pytest.mark.parametrize("strategy", ["mtime", "hash"])
@pytest.mark.asyncio
async def test_file_watcher_not_existing(tmpdir, strategy):
@@ -52,7 +52,7 @@ async def test_file_watcher_not_existing(tmpdir, strategy):
callback.assert_called_with(str(file))
@pytest.mark.parametrize("strategy", ['mtime', 'hash'])
@pytest.mark.parametrize("strategy", ["mtime", "hash"])
@pytest.mark.asyncio
async def test_file_watcher_list(tmpdir, strategy):