mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
Modify testrail to use global variable for TR URL
This commit is contained in:
@@ -112,7 +112,7 @@ class APIClient:
|
|||||||
"Get the project ID using project name"
|
"Get the project ID using project name"
|
||||||
project_id = None
|
project_id = None
|
||||||
projects = client.send_get('get_projects')
|
projects = client.send_get('get_projects')
|
||||||
pprint(projects)
|
##pprint(projects)
|
||||||
for project in projects:
|
for project in projects:
|
||||||
if project['name']== project_name:
|
if project['name']== project_name:
|
||||||
project_id = project['id']
|
project_id = project['id']
|
||||||
|
|||||||
Reference in New Issue
Block a user