[vlc-commits] python bindings: remove old log API related tests

Olivier Aubert git at videolan.org
Mon Oct 15 20:56:30 CEST 2012


vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Mon Oct 15 20:55:32 2012 +0200| [ecc2637128ae4f6ae45676024bf43089f869977b] | committer: Olivier Aubert

python bindings: remove old log API related tests

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

 test.py |   24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/test.py b/test.py
index d5fc151..6c85355 100755
--- a/test.py
+++ b/test.py
@@ -98,29 +98,5 @@ class TestVLCAPI(unittest.TestCase):
         p=i.media_player_new(mrl)
         self.assertEqual(p.get_state(), vlc.State.NothingSpecial)
 
-    def test_libvlc_logger(self):
-        i=vlc.Instance()
-        l=i.log_open()
-        l.clear()
-        self.assertEqual(l.count(), 0)
-        l.close()
-
-    def test_libvlc_logger_clear(self):
-        i=vlc.Instance()
-        l=i.log_open()
-        l.clear()
-        self.assertEqual(l.count(), 0)
-        l.close()
-
-    def test_libvlc_logger(self):
-        i=vlc.Instance()
-        i.set_log_verbosity(3)
-        l=i.log_open()
-        i.add_intf(vlc.str_to_bytes('dummy'))
-        for m in l:
-            # Ensure that messages can be read.
-            self.assertNotEqual(len(m.message), 0)
-        l.close()
-
 if __name__ == '__main__':
     unittest.main()



More information about the vlc-commits mailing list