diff --git a/source/electrical_heating/contracts/parameters-reference.txt b/source/electrical_heating/contracts/parameters-reference.txt index e1226fd2..bdd251cc 100644 --- a/source/electrical_heating/contracts/parameters-reference.txt +++ b/source/electrical_heating/contracts/parameters-reference.txt @@ -1,7 +1,8 @@ -# This file contains all the parameters that the job consumers. Some are required and some or not. +# This file contains all the parameters that the job consumers. Some are required and some or not. # # Empty lines and lines starting with '#' are ignores in the tests. # Required parameters --electrical-heating-id={electrical-heating-id} +# Optional parameters diff --git a/source/electrical_heating/tests/conftest.py b/source/electrical_heating/tests/conftest.py index 59ed6be2..249b1bab 100644 --- a/source/electrical_heating/tests/conftest.py +++ b/source/electrical_heating/tests/conftest.py @@ -15,6 +15,7 @@ import pytest from typing import Callable + @pytest.fixture(scope="session") def file_path_finder() -> Callable[[str], str]: """ diff --git a/source/electrical_heating/tests/entry_points/job_args/test_electrical_heating_job_args.py b/source/electrical_heating/tests/entry_points/job_args/test_electrical_heating_job_args.py index c91f191b..850a8392 100644 --- a/source/electrical_heating/tests/entry_points/job_args/test_electrical_heating_job_args.py +++ b/source/electrical_heating/tests/entry_points/job_args/test_electrical_heating_job_args.py @@ -2,12 +2,12 @@ import pytest -from source.electrical_heating.electrical_heating_job.entry_points.job_args.electrical_heating_job_args import \ +from electrical_heating_job.entry_points.job_args.electrical_heating_job_args import \ parse_job_arguments, parse_command_line_arguments -from source.electrical_heating.electrical_heating_job.entry_points.job_args.environment_variables import \ +from electrical_heating_job.entry_points.job_args.environment_variables import \ EnvironmentVariable -DEFAULT_ID = "12345678" +DEFAULT_ID = "12345678-9fc8-409a-a169-fbd49479d718" def _get_contract_parameters(filename: str) -> list[str]: