Skip to content

Commit

Permalink
feat: 单元测试异常用例跟进 --story=120579512 (TencentBlueKing#3814)
Browse files Browse the repository at this point in the history
  • Loading branch information
HACK-WU authored Nov 13, 2024
1 parent 479a6a9 commit 648a3ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_job_with_appointees(self):
{
"duty_rule_id": 1,
"start_time": time_tools.datetime2str(datetime.now(tz=local_timezone)),
"finished_time": "",
"finished_time": time_tools.datetime2str(datetime.now(tz=local_timezone) + timedelta(hours=1)),
"is_effective": 1,
"order": 2,
"work_times": [{'start_time': today_begin, 'end_time': today_end}],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ def get_strategy_dict(group_id):
"notice": { # 通知设置
"id": 1,
"config_id": 55555, # 套餐ID,如果不选套餐请置为0
# 'relation_id': 12345,
"user_groups": [group_id], # 告警组ID
"signal": ["abnormal", "recovered", "ack"],
# 触发信号,abnormal-异常,recovered-恢复,closed-关闭,execute-执行动作时, execute_success-执行成功, execute_failed-执行失败
Expand Down

0 comments on commit 648a3ce

Please sign in to comment.