Exemplo n.º 1
0
 def test_JSONList_size_06(self):
     exp_list = [1,2,34]
     json_list = JsonList(exp_list)
     try:
         json_list.assert_size(None,  msg = "Should match with expected size")
     except AssertionError as ae:
         pass
     else:
         raise AssertionError("assert_size Json List is not working as expected")
Exemplo n.º 2
0
 def test_JSONList_size_01(self):
     exp_list = [1,2,34]
     json_list = JsonList(exp_list)
     json_list.assert_size(len(exp_list), msg = "Should match with expected size")