File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2424
2525 - name : run tests
2626 run : |
27- pytest -s
27+ pytest
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class Settings(BaseSettings):
88 host : str = "127.0.0.1"
99 port : int = 8000
1010 reload_value : str = "true"
11- telex_webhook_url : str = "https://example.com/ telex"
11+ telex_webhook_url : str = "https://ping. telex.im/v1/webhooks "
1212 curl_command : str | None = "curl" # might require path/to/curl e.g. `/usr/bin/curl`
1313 app_logo_url : str = "https://example.com/logo.png"
1414 app_url : str = "https://example.com"
Original file line number Diff line number Diff line change @@ -18,11 +18,10 @@ def test_send_to_telex_success():
1818 ],
1919 },
2020 )
21- # assert response.status_code == 200
21+ assert response .status_code == 200
2222 response_data = json .loads (response .content .decode ())
23- print (response_data )
24- # assert response_data["data"]["status"] == "success"
25- # assert response_data["data"]["status_code"] == 202
23+ assert response_data ["data" ]["status" ] == "success"
24+ assert response_data ["data" ]["status_code" ] == 202
2625
2726
2827def test_send_to_telex_failure ():
You can’t perform that action at this time.
0 commit comments