Beispiel #1
0
 def test_add_folder(self):
     try:
         from mopidy.models import Ref
     except ImportError as e:
         self.skipTest(e.message)
     self.assertEquals(
         new_folder('Test', ['test']),
         Ref(name='Test', type='directory',
             uri='soundcloud:directory:test'))
 def test_add_folder(self):
     try:
         from mopidy.models import Ref
     except ImportError as e:
         self.skipTest(e.message)
     self.assertEquals(
         new_folder('Test', ['test']),
         Ref(name='Test', type='directory',
             uri='soundcloud:directory:test')
     )
Beispiel #3
0
 def test_add_folder(self):
     assert new_folder("Test",
                       ["test"]) == Ref(name="Test",
                                        type="directory",
                                        uri="soundcloud:directory:test")
Beispiel #4
0
 def test_add_folder(self):
     self.assertEquals(
         new_folder('Test', ['test']),
         Ref(name='Test', type='directory',
             uri='soundcloud:directory:test')
     )