]> git.sesse.net Git - vlc/blob - test/PyMediaControlPlaylistTest.py
write to tmpFile instead of /dev/dsp
[vlc] / test / PyMediaControlPlaylistTest.py
1 #import vlc
2 #import unittest
3
4 # FIXME: How to avoid creating / killing vlc for each test method ?
5
6 #class VariablesTestCase( unittest.TestCase ):
7 #    """[PyMC] Test misc variables interaction"""
8 #    def setUp( self ):
9 #        self.mc = vlc.MediaControl( [ '--quiet'] )
10 #
11 #"    def tearDown( self ):
12 #        self.mc.exit()
13 #           
14 #    def testSimple( self ):
15 #        """[PyMC] Check simple add"""
16 #        assert len( self.mc.playlist_get_list() ) == 0
17 ##        self.mc.playlist_add_item( "test" )
18 ##        assert len( self.mc.playlist_get_list() ) == 1