Skip to content

Commit

Permalink
ENV -> SATURN_ENV (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviau authored Dec 1, 2021
1 parent 797a0b7 commit 7a4f0f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/saturn_engine/worker/services/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ConfigService:
_config: Type[BaseConfig]

def __init__(self) -> None:
env = Env(os.environ["ENV"])
env = Env(os.environ["SATURN_ENV"])
if env is Env.TEST:
self._config = TestConfig
else:
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


def pytest_configure() -> None:
os.environ["ENV"] = "test"
os.environ["SATURN_ENV"] = "test"


@pytest.fixture
Expand Down

0 comments on commit 7a4f0f4

Please sign in to comment.