More test to prove backward compatibility

This commit is contained in:
Cássio Botaro committed 2015-05-03 14:03:26 -03:00
1 parent f6db7c995f
commit c36c391786
1 file changed
+1
+1
View File
@@ -140,6 +140,7 @@ class TestList(unittest.TestCase):
self.assertRaises(HTTP, a, 4, cast=int)
b = List()
self.assertEqual(b(0, cast=int, default=None), None)
self.assertEqual(b(0, cast=int, default=None, otherwise='something'), None)
if __name__ == '__main__':