Added one more test

Added one more test to avoid mistake with backward compatibility
This commit is contained in:
Cássio Botaro
2015-05-03 13:36:24 -03:00
parent 71b02e3044
commit ccc4b96709
+2
View File
@@ -138,6 +138,8 @@ class TestList(unittest.TestCase):
self.assertEqual(a(3, cast=int), 1234)
a.append('x')
self.assertRaises(HTTP, a, 4, cast=int)
b = List()
self.assertEqual(b(0, cast=int, default=None), None)
if __name__ == '__main__':