Skip to content

Commit

Permalink
Remove TERCC variable check for v1alpha+ ETOS (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
andmat900 authored Dec 4, 2024
1 parent 1e00b1f commit 450f129
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/etos_suite_runner/src/etos_suite_runner/esr.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,10 @@ def run_suites(self, triggered: EiffelActivityTriggeredEvent):
def verify_input() -> None:
"""Verify that the data input to ESR are correct."""
assert os.getenv("SOURCE_HOST"), "SOURCE_HOST environment variable not provided."
assert os.getenv("TERCC"), "TERCC environment variable not provided."

if os.getenv("TESTRUN") is None:
# TERCC variable is set only in v0 ETOS, TESTRUN in v1 and onwards.
assert os.getenv("TERCC"), "TERCC environment variable not provided."

def _send_tercc(self, testrun_id: str, iut_id: str) -> None:
"""Send tercc will publish the TERCC event for this testrun."""
Expand Down

0 comments on commit 450f129

Please sign in to comment.