def test_numeric(self):
        actual = helper.API.get_actual_value(uri, params, timeout,
                                             json_test_case)
        expected = helper.TestCase.get_expected_value(json_test_case)
        condition = helper.TestCase.get_condition(json_test_case)

        examine_numeric(self, actual, expected, condition)
Exemple #2
0
def examine_min(self, actual_list, expected, condition):
    examine_numeric(self, min(actual_list), expected, condition,
                    'in the examination of the minimum value of list')
Exemple #3
0
def examine_all(self, actual_list, expected, condition):
    for item in actual_list:
        examine_numeric(self, item, expected, condition,
                        'in the examination of all the items in list')
Exemple #4
0
def examine_length(self, actual_list, expected, condition):
    examine_numeric(self, len(actual_list), expected, condition,
                    'in the examination of the length of list')