Skip to content

Commit

Permalink
Fix smoke test (#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbahrai authored Jan 18, 2024
1 parent 0d25f17 commit 6c982fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests_smoke/smoke/test_api_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_api_bulk(notification_type: Notification_type):
"template_id": template_id,
"csv": rows_to_csv([[header, "var"], *job_line(to, 2)]),
},
headers={"Authorization": f"ApiKey-v1 {Config.API_KEY[-36:]}"},
headers={"Authorization": f"ApiKey-v1 {Config.API_KEY}"},
)
if response.status_code != 201:
pretty_print(response.json())
Expand Down
2 changes: 1 addition & 1 deletion tests_smoke/smoke/test_api_one_off.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_api_one_off(notification_type: Notification_type, attachment_type: Atta
response = requests.post(
f"{Config.API_HOST_NAME}/v2/notifications/{notification_type.value}",
json=data,
headers={"Authorization": f"ApiKey-v1 {Config.API_KEY[-36:]}"},
headers={"Authorization": f"ApiKey-v1 {Config.API_KEY}"},
)
if response.status_code != 201:
pretty_print(response.json())
Expand Down

0 comments on commit 6c982fe

Please sign in to comment.