mirror of
				https://github.com/Telecominfraproject/wlan-testing.git
				synced 2025-11-03 20:38:05 +00:00 
			
		
		
		
	* 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>
		
			
				
	
	
		
			24 lines
		
	
	
		
			556 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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 |