aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jannes Jonkers <[email protected]>2020-05-11 20:39:25 +0200
committerGravatar Jannes Jonkers <[email protected]>2020-05-11 20:39:25 +0200
commitecaddcedab6946ac4650b699a790471ef2a898c9 (patch)
tree8c7e239500034a96d7649c303a2492541d57579e
parentAntiMalware 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.py1
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"]),