[vlc-commits] Tweak test_libvlc_logger: add_intf('dummy') does not seem to generate a log message anymore

Olivier Aubert git at videolan.org
Fri Apr 27 16:48:14 CEST 2012


vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri Apr 27 16:30:26 2012 +0200| [cd6dbb3705d84576dcd88e1f00d323f7d33a5003] | committer: Olivier Aubert

Tweak test_libvlc_logger: add_intf('dummy') does not seem to generate a log message anymore

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=cd6dbb3705d84576dcd88e1f00d323f7d33a5003
---

 test.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/test.py b/test.py
index 0779726..8abbd81 100755
--- a/test.py
+++ b/test.py
@@ -116,9 +116,7 @@ class TestVLCAPI(unittest.TestCase):
         i=vlc.Instance()
         i.set_log_verbosity(3)
         l=i.log_open()
-        # This should generate a log message
         i.add_intf('dummy')
-        self.assertNotEqual(l.count(), 0)
         for m in l:
             # Ensure that messages can be read.
             self.assertNotEqual(len(m.message), 0)



More information about the vlc-commits mailing list