Skip to content

Commit 94c25c2

Browse files
committed
chore: reflect changes done to Top-gg-Community#91
1 parent 8b259ec commit 94c25c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_webhooks.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ async def test_Webhooks_error_handling_works(
7272
with pytest.raises(TypeError, match='^The specified timeout must be a float.$'):
7373
topgg.Webhooks('foo', MOCK_SECRET, timeout=1)
7474

75+
with pytest.raises(
76+
TypeError, match='^The specified timestamp window must be a float.$'
77+
):
78+
topgg.Webhooks('foo', MOCK_SECRET, timestamp_window=1)
79+
7580
with pytest.raises(
7681
ValueError, match=r'^The specified secret, route, and/or host must not be empty.$'
7782
):

0 commit comments

Comments
 (0)