Skip to content

Commit 140e1cd

Browse files
committed
Fixed build
1 parent b952e52 commit 140e1cd

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

doc/changes/changes_0.3.0.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ This release adds integration tests for the most important calls to SaaS API.
1313

1414
* #14: Added fixture waiting until SaaS database is running
1515
* #25: Fixed transitive dependencies required by generated API client
16+
17+
## Bugfixes
18+
19+
* #34: Fixed handing secrets in CI/CD build

noxfile.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
import nox
3-
import sys
43

54
from pathlib import Path
65
from nox import Session

test/integration/conftest.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212

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

1819

1920
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)