From f3d31c96294af408e51564b9c0aa02fadf940376 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 25 May 2014 13:23:10 +0300 Subject: [PATCH] Check streamable is Boolean rather than a True/False value --- test_pylast.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_pylast.py b/test_pylast.py index 600ccc7..04ab3b0 100755 --- a/test_pylast.py +++ b/test_pylast.py @@ -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