Пример #1
0
 def test_JSONList_max_size_04(self):
     exp_list = [1]*10
     json_list = JsonList(exp_list)
     try:
         json_list.assert_max_size("2",   msg = "Should match with expected max size")
     except TypeError as ae:
         pass
     else:
         raise AssertionError("assert_max_size Json List is not working as expected")
Пример #2
0
 def test_JSONList_max_size_05(self):
         exp_list = [1]*10
         json_list = JsonList(exp_list)
         json_list.assert_max_size(10.5,   msg = "Should match with expected max size")
Пример #3
0
 def test_JSONList_max_size_03(self):
     exp_list = []
     json_list = JsonList(exp_list)
     json_list.assert_max_size(0,   msg = "Should match with expected max size")