diff options
author | 2021-03-05 18:22:46 +0100 | |
---|---|---|
committer | 2021-03-05 18:22:46 +0100 | |
commit | 74cbe44625a1e6e2e39f77b2663794d3ab5aaf58 (patch) | |
tree | 9b76463bf33b5cdbcde222e1cb5132cb2ffcd5ce | |
parent | Clarify the use of _set_expires and needs_expire (diff) |
Correct tests cases
The tests were not adjusted after the converter was corrected to accept
digits
-rw-r--r-- | tests/bot/test_converters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/test_converters.py b/tests/bot/test_converters.py index 231798a92..4af84dde5 100644 --- a/tests/bot/test_converters.py +++ b/tests/bot/test_converters.py @@ -80,7 +80,7 @@ class ConverterTests(unittest.IsolatedAsyncioTestCase): async def test_package_name_for_valid(self): """PackageName returns valid package names unchanged.""" - test_values = ('foo', 'le_mon') + test_values = ('foo', 'le_mon', 'num83r') for name in test_values: with self.subTest(identifier=name): @@ -89,7 +89,7 @@ class ConverterTests(unittest.IsolatedAsyncioTestCase): async def test_package_name_for_invalid(self): """PackageName raises the proper exception for invalid package names.""" - test_values = ('text_with_a_dot.', 'UpperCaseName', "num83r") + test_values = ('text_with_a_dot.', 'UpperCaseName', 'dashed-name') for name in test_values: with self.subTest(identifier=name): |