Skip to content

Commit 3415733

Browse files
authored
stop sending None as run description (#595)
1 parent 662d5b3 commit 3415733

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/check-beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check new beta version
22

33
on:
44
schedule:
5-
- cron: "33 */1 * * *"
5+
- cron: "53 */1 * * *"
66
env:
77
LATEST: ""
88
permissions:

modules/testrail.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,12 @@ def create_test_run_on_plan_entry(
200200
logging.info(f"run on plan entry configs {config_ids}")
201201
payload = {
202202
"config_ids": config_ids,
203-
"description": description,
204203
"include_all": not bool(case_ids),
205204
}
206205
if case_ids:
207206
payload["case_ids"] = case_ids
207+
if description:
208+
payload["description"] = description
208209
logging.info(f"create run on entry payload:\n{payload}")
209210
return self.client.send_post(
210211
f"add_run_to_plan_entry/{plan_id}/{entry_id}", payload

0 commit comments

Comments
 (0)