Complemented message storage test with explicit None extra_tags value
@@ -349,8 +349,9 @@ class BaseTests:
storage = self.get_storage()
storage.level = 0
add_level_messages(storage)
+ storage.add(constants.INFO, 'A generic info message', extra_tags=None)
tags = [msg.tags for msg in storage]
- self.assertEqual(tags, ['info', '', 'extra-tag debug', 'warning', 'error', 'success'])
+ self.assertEqual(tags, ['info', '', 'extra-tag debug', 'warning', 'error', 'success', 'info'])
def test_level_tag(self):
storage = self.get_storage()
