

def test_to_keyvalue_pairs_if_parameter_is_a_number_then_a_value_pair_is_built(self):
    result = to_keyvalue_pairs(1, ['key1'])
    self.assertEquals(result, [('key1', 1)])

dataset/ETHPy150Open vladikk/JSON2CSV/json2csv-tests.py JSON2CSVTests.test_to_keyvalue_pairs_if_parameter_is_a_number_then_a_value_pair_is_built/original