Exemplo n.º 1
0
 def test_identifier_type_instance(self):
     check_type(IdentifierType.album)
Exemplo n.º 2
0
 def test_valid(self):
     for t in ('artist', 'album', 'playlist', 'track'):
         check_type(t)
Exemplo n.º 3
0
 def test_invalid(self):
     with pytest.raises(ConversionError):
         check_type('invalid')
Exemplo n.º 4
0
 def test_valid(self):
     for t in ('artist', 'album', 'episode', 'playlist', 'show', 'track',
               'user'):
         check_type(t)