diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_api_bot_off_topic_names.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/tests/test_api_bot_off_topic_names.py b/tests/test_api_bot_off_topic_names.py index 74146bc5..f0d0fe3e 100644 --- a/tests/test_api_bot_off_topic_names.py +++ b/tests/test_api_bot_off_topic_names.py @@ -58,6 +58,10 @@ class AddingChannelNamesToDatabaseEndpointTests(SiteTest):          self.assert200(response)          self.assertIn(self.CHANNEL_NAME, response.json) + +class AllowsNumbersInNames(SiteTest): +    """Tests that the site allows names with numbers in them.""" +      def test_allows_numbers_in_names(self):          response = self.client.post(              f'/bot/off-topic-names?name=totallynot42', | 
