Skip to content

Commit

Permalink
Unify testing. Use VERSION instead of SINGLE_VERSION
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Jul 19, 2024
1 parent 1d554ec commit 236cc23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test_httpd_ex_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
TEST_DIR = Path(os.path.abspath(os.path.dirname(__file__)))

if not check_variables():
print("At least one variable from IMAGE_NAME, OS, SINGLE_VERSION is missing.")
print("At least one variable from IMAGE_NAME, OS, VERSION is missing.")
sys.exit(1)

VERSION = os.getenv("SINGLE_VERSION")
VERSION = os.getenv("VERSION")
IMAGE_NAME = os.getenv("IMAGE_NAME")
BRANCH_TO_TEST = "master"

Expand Down
4 changes: 2 additions & 2 deletions test/test_httpd_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@


if not check_variables():
print("At least one variable from IMAGE_NAME, OS, SINGLE_VERSION is missing.")
print("At least one variable from IMAGE_NAME, OS, VERSION is missing.")
sys.exit(1)

VERSION = os.getenv("SINGLE_VERSION")
VERSION = os.getenv("VERSION")
IMAGE_NAME = os.getenv("IMAGE_NAME")
BRANCH_TO_TEST = "master"

Expand Down

0 comments on commit 236cc23

Please sign in to comment.