From 5c0c4c5dc8de3c0be32559c1faa11e5e9e971253 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Tue, 4 Feb 2025 10:55:07 +0100 Subject: [PATCH] fix fixture scope --- 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 a29ccd280..cadd883b2 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -14,7 +14,7 @@ logger = logging.getLogger(__name__) -@pytest.fixture(scope="module") +@pytest.fixture(scope="session") def charm(): # Return str instead of pathlib.Path since python-libjuju's model.deploy(), juju deploy, and # juju bundle files expect local charms to begin with `./` or `/` to distinguish them from