tests: Re-add incorrectly removed test case

This commit is contained in:
Thomas Adamcik 2015-02-12 23:08:27 +01:00
parent a3133afe6b
commit b1b6fb7808

View File

@ -123,6 +123,12 @@ class RefTest(unittest.TestCase):
self.assertEqual(ref.name, 'bar')
self.assertEqual(ref.type, Ref.PLAYLIST)
def test_track_constructor(self):
ref = Ref.track(uri='foo', name='bar')
self.assertEqual(ref.uri, 'foo')
self.assertEqual(ref.name, 'bar')
self.assertEqual(ref.type, Ref.TRACK)
class ImageTest(unittest.TestCase):
def test_uri(self):