Skip to content

Commit

Permalink
remove .json()'s from allure_env
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-mcgillivray005 committed Jun 26, 2024
1 parent 78b31b1 commit 2d57c1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helper/reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ def create_timestamp() -> str:


def allure_environment():
product_name = API_GET.get_system_product_name().json()
product_type = API_GET.get_system_product_type().json()
version = API_GET.get_system_version().json()
version_short = API_GET.get_system_version_short().json()
product_name = API_GET.get_system_product_name()
product_type = API_GET.get_system_product_type()
version = API_GET.get_system_version()
version_short = API_GET.get_system_version_short()
allure_results = str(Path('/allure-results'))
environment_properties = str(Path('/environment.properties'))
with open(f'{real_full_test_path}{allure_results}{environment_properties}', 'w') as file:
Expand Down

0 comments on commit 2d57c1c

Please sign in to comment.