From 8d7f484a86a3bfbbdeda6154d4bcffef12a569f3 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Mon, 2 Dec 2024 15:54:56 +0000 Subject: [PATCH] conftest.py: fix linter error We're getting the following linter error: tests/integration/conftest.py:468: error: Argument "resources" to "refresh" of "Application" has incompatible type "dict[str, None]"; expected "dict[str, str] | None" [arg-type] We'll try to avoid it by replacing the None value with an empty string. --- tests/integration/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 7ec676be..9b84c194 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -30,7 +30,7 @@ log = logging.getLogger(__name__) TEST_DATA = Path(__file__).parent / "data" DEFAULT_SNAP_INSTALLATION = TEST_DATA / "default-snap-installation.tar.gz" -DEFAULT_RESOURCES = {"snap-installation": None} +DEFAULT_RESOURCES = {"snap-installation": ""} def pytest_addoption(parser: pytest.Parser):