Files
wlan-testing/tests/controller_tests/ucentral_gateway/test_fms_service.py
Haricharan Jaka 2cb414b878 Wifi 7858 (#518)
* Crated a new file for FMS related testcases

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed Fms system ifo test case from gateway service file

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Location related test cases of Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Location related functions for support

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the function name

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the allure attachment names on edit functions

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-05-10 22:28:38 +05:30

24 lines
556 B
Python

"""
UCentral FMS Services Rest API Tests
"""
import string
import random
import pytest
import json
import allure
@pytest.mark.uc_sanity
@allure.feature("SDK REST API")
class TestUcentralFMSService(object):
@pytest.mark.system_info_fms
def test_system_info_fms(self, setup_controller):
system_info = setup_controller.get_system_fms()
print(system_info.json())
allure.attach(name="system info", body=str(system_info.json()), attachment_type=allure.attachment_type.JSON)
assert system_info.status_code == 200