mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added a test case for non-dictionary input in remove_unset method
This commit is contained in:
parent
fffc2b2d9e
commit
73ce05e887
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ class TestTelegramMethodRemoveUnset:
|
|||
validated = TelegramMethod.remove_unset(values)
|
||||
assert set(validated.keys()) == names
|
||||
|
||||
def test_remove_unset_non_dict(self):
|
||||
assert TelegramMethod.remove_unset("") == ""
|
||||
|
||||
|
||||
class TestTelegramMethodCall:
|
||||
async def test_async_emit_unsuccessful(self, bot: MockedBot):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue