mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-30 02:22:44 +00:00
Wifi 13874 (#953)
* Added more logs to asb script Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Increased sleep time after factory reset for ASB tests Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> --------- Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
committed by
GitHub
parent
8d98e38daa
commit
016f766466
@@ -579,7 +579,7 @@ class APLIBS:
|
||||
expected_attachment_type=allure.attachment_type.TEXT,
|
||||
restrictions=True)
|
||||
self.factory_reset(print_log=False)
|
||||
time.sleep(120)
|
||||
time.sleep(300)
|
||||
return output
|
||||
|
||||
|
||||
|
||||
@@ -918,8 +918,10 @@ class Controller(ConfigureController):
|
||||
|
||||
def asb_script(self, serial_number, payload):
|
||||
uri = self.build_uri("device/" + serial_number + "/script")
|
||||
logging.info("uri:- " + str(uri))
|
||||
payload = json.dumps(payload)
|
||||
resp = requests.post(uri, data=payload, headers=self.make_headers(), verify=False, timeout=120)
|
||||
logging.info("resp:- " + str(resp))
|
||||
resp = resp.json()
|
||||
resp = resp['UUID']
|
||||
return resp
|
||||
|
||||
Reference in New Issue
Block a user