File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed 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 @@ -8,7 +8,13 @@ def test_send_to_telex_success():
88 json = {
99 "pusher" : {"name" : "test" },
1010 "commits" : [
11- {"key" : "value" },
11+ {
12+ "id" : "commit_hash" ,
13+ "message" : "commit_message" ,
14+ "timestamp" : "2025-02-18T10:17:54+01:00" ,
15+ "url" : "commit_url" ,
16+ "author" : {"name" : "author_name" , "email" : "author_email" }
17+ }
1218 ],
1319 },
1420 )
You can’t perform that action at this time.
0 commit comments