added test for logging

This commit is contained in:
Peter Kessen 2015-09-27 20:16:39 +02:00
parent 35497ff696
commit 9c34bde456

View file

@ -31,6 +31,9 @@ class LoggingTest(TestCase):
l5 = l3.getChild("shalala")
self.assertEqual(l5.__class__, blog.BeetsLogger)
l6 = log.getLogger()
self.assertNotEqual(l1, l6)
def test_str_format_logging(self):
l = blog.getLogger("baz123")
stream = StringIO()