mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
Modify environment variable name from TESTRAIL_URL to TR_URL because it is already used with another test application
This commit is contained in:
@@ -109,7 +109,7 @@ hdlr.setFormatter(formatter)
|
|||||||
logger.addHandler(hdlr)
|
logger.addHandler(hdlr)
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
|
||||||
testrail_url = os.getenv('TESTRAIL_URL')
|
testrail_url = os.getenv('TR_URL')
|
||||||
client: APIClient = APIClient(testrail_url)
|
client: APIClient = APIClient(testrail_url)
|
||||||
client.user = tr_user
|
client.user = tr_user
|
||||||
client.password = tr_pw
|
client.password = tr_pw
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ class APIClient:
|
|||||||
{'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, 'include_all': False})
|
{'name': name, 'case_ids': case_ids, 'milestone_id': milestone_id, 'description': description, 'include_all': False})
|
||||||
print("result in post", result)
|
print("result in post", result)
|
||||||
|
|
||||||
client: APIClient = APIClient(os.getenv('TESTRAIL_URL'))
|
client: APIClient = APIClient(os.getenv('TR_URL'))
|
||||||
|
|
||||||
|
|
||||||
class APIError(Exception):
|
class APIError(Exception):
|
||||||
|
|||||||
Reference in New Issue
Block a user