From 245fee26ae1ba5a42eacb7a82a14f5580c45290f Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 18 May 2013 02:43:48 +0100 Subject: [PATCH] improved tests --- tests/unit-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests.py b/tests/unit-tests.py index 4582b31..904cfe6 100644 --- a/tests/unit-tests.py +++ b/tests/unit-tests.py @@ -38,7 +38,7 @@ class TestMega(unittest.TestCase): def test_get_quota(self): resp = m.get_quota() - self.assertIsInstance(resp, long) + self.assertIsInstance(int(resp), int) def test_get_storage_space(self): resp = m.get_storage_space(mega=True)