From 6422a2663cb73865fdb9feb548bc7aa346256507 Mon Sep 17 00:00:00 2001 From: Denis Zheleztsov Date: Mon, 14 Nov 2016 15:04:16 +0300 Subject: [PATCH] fix tests --- build/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/tests.py b/build/tests.py index 5faec71..6a06c5f 100644 --- a/build/tests.py +++ b/build/tests.py @@ -27,22 +27,22 @@ class TestLogger(unittest.TestCase): def test_info(self): from surok.logger import make_message m = make_message - self.assertIn('INFO', m({'level': 'info', 'raw': 'log message'})) + self.assertIn('INFO', m({'level': 'INFO', 'raw': 'log message'})) def test_warning(self): from surok.logger import make_message m = make_message - self.assertIn('WARNING', m({'level': 'warning', 'raw': 'log message'})) + self.assertIn('WARNING', m({'level': 'WARNING', 'raw': 'log message'})) def test_error(self): from surok.logger import make_message m = make_message - self.assertIn('ERROR', m({'level': 'error', 'raw': 'log message'})) + self.assertIn('ERROR', m({'level': 'ERROR', 'raw': 'log message'})) def test_info(self): from surok.logger import make_message m = make_message - self.assertIn('DEBUG', m({'level': 'debug', 'raw': 'log message'})) + self.assertIn('DEBUG', m({'level': 'DEBUG', 'raw': 'log message'})) if __name__ == '__main__':