Made test teardown reset environment variables
This commit is contained in:
parent
11ce2f16a4
commit
7dbdcdcd4f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user