Skip to content

Commit

Permalink
?!
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAlbertQC committed Jul 15, 2024
1 parent 6f46380 commit 8cb09d4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions quetz/testing/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
from quetz.db_models import Base


def pytest_configure(config):
pytest.quetz_variables = {
var: value for var, value in os.environ.items() if var.startswith("QUETZ_")
}
for var in pytest.quetz_variables:
del os.environ[var]
# def pytest_configure(config):
# pytest.quetz_variables = {
# var: value for var, value in os.environ.items() if var.startswith("QUETZ_")
# }
# for var in pytest.quetz_variables:
# del os.environ[var]


def pytest_unconfigure(config):
for var, value in pytest.quetz_variables.items():
os.environ[var] = value
# def pytest_unconfigure(config):
# for var, value in pytest.quetz_variables.items():
# os.environ[var] = value


@pytest.fixture
Expand Down

0 comments on commit 8cb09d4

Please sign in to comment.