tests: Re-add incorrectly removed test case
This commit is contained in:
parent
a3133afe6b
commit
b1b6fb7808
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user