Hide paid ttvdrops images and update lint checks
Some checks failed
Test and build Docker image / docker (push) Failing after 3s
Some checks failed
Test and build Docker image / docker (push) Failing after 3s
This commit is contained in:
parent
23a619c9ea
commit
1065838ef7
11 changed files with 151 additions and 38 deletions
|
|
@ -174,7 +174,7 @@ class TestCreateHoyolabWebhook:
|
|||
|
||||
entry = make_entry(link=None)
|
||||
entry = typing.cast("Entry", entry)
|
||||
webhook = create_hoyolab_webhook("https://discord.test/webhook", entry, post_data)
|
||||
webhook = create_hoyolab_webhook("https://discord.test/webhook", entry, post_data) # type: ignore
|
||||
|
||||
assert webhook is webhook_instance
|
||||
mock_webhook_cls.assert_called_once_with(url="https://discord.test/webhook", rate_limit_retry=True)
|
||||
|
|
@ -222,7 +222,7 @@ class TestCreateHoyolabWebhook:
|
|||
|
||||
entry = make_entry()
|
||||
entry = typing.cast("Entry", entry)
|
||||
webhook = create_hoyolab_webhook("https://discord.test/webhook", entry, post_data)
|
||||
webhook = create_hoyolab_webhook("https://discord.test/webhook", entry, post_data) # type: ignore
|
||||
|
||||
assert webhook is webhook_instance
|
||||
webhook_instance.remove_embeds.assert_not_called()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue