Skip to content

Commit

Permalink
added regression marker to master config tests (#843)
Browse files Browse the repository at this point in the history
Signed-off-by: anil-tegala <[email protected]>
  • Loading branch information
anil-tegala authored Sep 1, 2023
1 parent ee81e42 commit e2525ea
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
config_data_3 = json.loads(json_string)


pytestmark = [pytest.mark.master_config]
pytestmark = [pytest.mark.master_config_tests, pytest.mark.ow_regression_lf]


@allure.feature("Master Configurations Test")
Expand Down Expand Up @@ -101,8 +101,6 @@ def test_master_config_one(self, get_test_library, check_connectivity, get_targe

assert True



@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12753", name="WIFI-12753")
@pytest.mark.wpa_personal
@pytest.mark.master_config2
Expand All @@ -113,8 +111,8 @@ def test_master_config_two(self, get_test_library, check_connectivity, get_targe
"""
for ap in range(len(get_target_object.device_under_tests_info)):
serial_number = get_target_object.device_under_tests_info[ap]['identifier']
logging.info(config_data_1)
payload = {"configuration": json.dumps(config_data_1), "serialNumber": serial_number, "UUID": 1}
logging.info(config_data_2)
payload = {"configuration": json.dumps(config_data_2), "serialNumber": serial_number, "UUID": 1}
uri = get_target_object.firmware_library_object.sdk_client.build_uri(
"device/" + serial_number + "/configure")
logging.info("Sending Command: " + "\n" + str(uri) + "\n" +
Expand Down Expand Up @@ -169,8 +167,8 @@ def test_master_config_three(self, get_test_library, check_connectivity, get_tar
"""
for ap in range(len(get_target_object.device_under_tests_info)):
serial_number = get_target_object.device_under_tests_info[ap]['identifier']
logging.info(config_data_1)
payload = {"configuration": json.dumps(config_data_1), "serialNumber": serial_number, "UUID": 1}
logging.info(config_data_3)
payload = {"configuration": json.dumps(config_data_3), "serialNumber": serial_number, "UUID": 1}
uri = get_target_object.firmware_library_object.sdk_client.build_uri(
"device/" + serial_number + "/configure")
logging.info("Sending Command: " + "\n" + str(uri) + "\n" +
Expand Down

0 comments on commit e2525ea

Please sign in to comment.