コード例 #1
0
def then_the_list_contains_the_following_func_keys_in_the_right_order(step):
    func_keys = _map_func_keys_with_destination_name(world.response.data['items'])
    expected_func_keys = [f for f in step.hashes]
    assert_has_dicts_in_order(func_keys, expected_func_keys)
コード例 #2
0
def then_i_get_a_list_of_items_in_the_following_order(step):
    expected_items = _convert_to_items(step.hashes)
    items = world.response.items()
    assert_has_dicts_in_order(items, expected_items)
コード例 #3
0
def then_i_get_a_list_of_items_in_the_following_order(step):
    expected_items = _convert_to_items(step.hashes)
    items = world.response.items()
    assert_has_dicts_in_order(items, expected_items)
コード例 #4
0
def then_the_list_contains_the_following_func_keys_in_the_right_order(step):
    func_keys = _map_func_keys_with_destination_name(world.response.data['items'])
    expected_func_keys = [f for f in step.hashes]
    assert_has_dicts_in_order(func_keys, expected_func_keys)