diff options
Diffstat (limited to 'tests/core')
-rw-r--r-- | tests/core/logs.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/core/logs.py b/tests/core/logs.py index 96be519..69a4775 100644 --- a/tests/core/logs.py +++ b/tests/core/logs.py @@ -6,16 +6,16 @@ from chrysacase import ChrysalideTestCase -from pychrysalide.core import logs +from pychrysalide import core class TestCoreLogs(ChrysalideTestCase): - """TestCase for analysis.core.logs.""" + """TestCase for analysis.core.core.""" def testDefaultLevel(self): """Ensure all messages are hidden by default.""" - self.assertEqual(logs.get_verbosity(), logs.LMT_COUNT) + self.assertEqual(core.get_verbosity(), core.LMT_COUNT) def testWrongLevel(self): @@ -23,7 +23,7 @@ class TestCoreLogs(ChrysalideTestCase): with self.assertRaisesRegex(Exception, 'argument 1 must be int, not str'): - logs.set_verbosity('XXX') + core.set_verbosity('XXX') def testWrongMessage(self): @@ -31,4 +31,4 @@ class TestCoreLogs(ChrysalideTestCase): with self.assertRaisesRegex(Exception, 'Invalid type of message'): - logs.log_message(logs.LMT_COUNT, 'Message') + core.log_message(core.LMT_COUNT, 'Message') |