Example #1
0
 def test_empty_JSONList(self):
     json_list = JsonList([])
     try:
         json_list.assert_not_empty(msg = "Should not be empty")
     except AssertionError as ae:
         pass
     else:
         raise AssertionError("Assert non empty Json List is not working as expected")
Example #2
0
 def test_non_empty_JSONList(self):
     json_list = JsonList([1])
     json_list.assert_not_empty(msg = "Should not be empty")