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")
def test_non_empty_JSONList(self): json_list = JsonList([1]) json_list.assert_not_empty(msg = "Should not be empty")