mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-12-24 22:37:03 +00:00
- changed example
- url argument added in get_ports Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
@@ -196,8 +196,8 @@ class cv_test(Realm):
|
||||
break
|
||||
|
||||
#Get port listing
|
||||
def get_ports(self):
|
||||
response = self.json_get("/ports/")
|
||||
def get_ports(self, url="/ports/"):
|
||||
response = self.json_get(url)
|
||||
return response
|
||||
|
||||
def show_text_blob(self, config_name, blob_test_name, brief):
|
||||
@@ -422,7 +422,6 @@ class cv_test(Realm):
|
||||
"text": Rawline
|
||||
}
|
||||
rsp = self.json_post(req_url, data)
|
||||
time.sleep(2)
|
||||
|
||||
# This is for chamber view buttons
|
||||
|
||||
|
||||
Reference in New Issue
Block a user