diff options
author | 2020-05-11 20:39:25 +0200 | |
---|---|---|
committer | 2020-05-11 20:39:25 +0200 | |
commit | ecaddcedab6946ac4650b699a790471ef2a898c9 (patch) | |
tree | 8c7e239500034a96d7649c303a2492541d57579e | |
parent | AntiMalware Tests - extracted the method for determining disallowed extension... (diff) |
AntiMalware Tests - added a missing case for no extensions in test_get_disallowed_extensions
-rw-r--r-- | tests/bot/cogs/test_antimalware.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bot/cogs/test_antimalware.py b/tests/bot/cogs/test_antimalware.py index 78ad996f2..7caee6f3c 100644 --- a/tests/bot/cogs/test_antimalware.py +++ b/tests/bot/cogs/test_antimalware.py @@ -139,6 +139,7 @@ class AntiMalwareCogTests(unittest.IsolatedAsyncioTestCase): async def test_get_disallowed_extensions(self): """The return value should include all non-whitelisted extensions.""" test_values = ( + ([], []), (AntiMalwareConfig.whitelist, []), ([".first"], []), ([".first", ".disallowed"], [".disallowed"]), |