Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed May 13, 2024
1 parent b952e52 commit 140e1cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions doc/changes/changes_0.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ This release adds integration tests for the most important calls to SaaS API.

* #14: Added fixture waiting until SaaS database is running
* #25: Fixed transitive dependencies required by generated API client

## Bugfixes

* #34: Fixed handing secrets in CI/CD build
1 change: 0 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
import nox
import sys

from pathlib import Path
from nox import Session
Expand Down
5 changes: 3 additions & 2 deletions test/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

def _env(var: str) -> str:
result = os.environ.get(var)
if not result:
raise RuntimeError(f"Environment variable {var} is empty.")
if result:
return result
raise RuntimeError(f"Environment variable {var} is empty.")


@pytest.fixture(scope="session")
Expand Down

0 comments on commit 140e1cd

Please sign in to comment.