improved tests

This commit is contained in:
richard 2013-05-18 02:43:48 +01:00
parent 55edbdb6f6
commit 245fee26ae

View file

@ -38,7 +38,7 @@ class TestMega(unittest.TestCase):
def test_get_quota(self): def test_get_quota(self):
resp = m.get_quota() resp = m.get_quota()
self.assertIsInstance(resp, long) self.assertIsInstance(int(resp), int)
def test_get_storage_space(self): def test_get_storage_space(self):
resp = m.get_storage_space(mega=True) resp = m.get_storage_space(mega=True)