Made test teardown reset environment variables

This commit is contained in:
Luke Else 2024-02-25 14:49:32 +00:00
parent 11ce2f16a4
commit 7dbdcdcd4f

View File

@ -26,7 +26,7 @@ class TestBase:
def teardown_class(self):
""" Teardown class level resources or configurations """
pass
os.environ["ENVIRON"] = self.old_env
@pytest.fixture(scope="class")
def test_client(self) -> FlaskClient: