environment variables update added an additional '\n' in the allure_env_property

This commit is contained in:
Shivam Thakur
2021-09-14 21:25:38 +05:30
committed by GitHub
parent c10fae7176
commit 0f4b65aa0d

View File

@@ -644,7 +644,7 @@ def add_env_properties(get_configuration, get_apnos, fixtures_ver, add_allure_en
add_allure_environment_property('Access-Point-Firmware-Version',
fixtures_ver.get_ap_version(get_apnos, get_configuration)[0].split("\n")[1])
add_allure_environment_property('Cloud-Controller-SDK-URL', get_configuration["controller"]["url"])
add_allure_environment_property('AP-Serial-Number', get_configuration["access_point"][0]["serial"])
add_allure_environment_property('AP-Serial-Number', get_configuration["access_point"][0]["serial"] + "\n")
@pytest.fixture(scope="session")