yashash04 commited on
Commit
0fd93c4
·
1 Parent(s): 7828dcd

Phase 11 fixup: deploy smoke /tasks count 3 -> 6

Browse files
Files changed (1) hide show
  1. tests/test_deploy_smoke.py +10 -4
tests/test_deploy_smoke.py CHANGED
@@ -36,11 +36,17 @@ def test_deployed_tasks_list() -> None:
36
  r = httpx.get(f"{DEPLOY_URL}/tasks", timeout=30.0)
37
  assert r.status_code == 200
38
  body = r.json()
39
- assert body.get("count") == 3
40
  task_ids = [t["task_id"] for t in body["tasks"]]
41
- assert "E1_onboard_new_hire" in task_ids
42
- assert "E2_meeting_invite_blast" in task_ids
43
- assert "E3_customer_lookup" in task_ids
 
 
 
 
 
 
44
 
45
 
46
  @REQUIRES_DEPLOY
 
36
  r = httpx.get(f"{DEPLOY_URL}/tasks", timeout=30.0)
37
  assert r.status_code == 200
38
  body = r.json()
39
+ assert body.get("count") == 6
40
  task_ids = [t["task_id"] for t in body["tasks"]]
41
+ for required in (
42
+ "E1_onboard_new_hire",
43
+ "E2_meeting_invite_blast",
44
+ "E3_customer_lookup",
45
+ "M1_customer_escalation",
46
+ "M2_weekly_report",
47
+ "M3_event_cleanup",
48
+ ):
49
+ assert required in task_ids, f"{required} missing from /tasks response"
50
 
51
 
52
  @REQUIRES_DEPLOY