Check streamable is Boolean rather than a True/False value

This commit is contained in:
hugovk 2014-05-25 13:23:10 +03:00
parent 6a3ba02931
commit f3d31c9629

View file

@ -1748,7 +1748,8 @@ class TestPyLast(unittest.TestCase):
self.assertEqual(name.lower(), name_cap.lower())
self.assertEqual(url, "http://www.last.fm/music/radiohead")
self.assertEqual(mbid, "a74b1b7f-71a5-4011-9441-d0b5e4122711")
self.assertTrue(streamable) # Maybe better just to check if Boolean
self.assertIsInstance(streamable, bool)
def test_events(self):
# Arrange