4 # FIXME: How to avoid creating / killing vlc for each test method ?
6 class VariablesTestCase( unittest.TestCase ):
7 """Test misc variables interaction"""
9 self.mc = vlc.MediaControl( [ '--quiet'] )
14 def testSimple( self ):
15 """Test simple add/remove"""
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