예제 #1
0
def test_if_it_can_tell_if_old_loc_and_new_loc_are_different(full_path, old_loc):
    assert old_loc == update_item_info(full_path)[1]
예제 #2
0
def test_Checking_if_it_can_pull_data_from_web(id, expected):
    full_name = os.path.join(PACKAGE_DIR, id + ".txt")
    assert expected == update_item_info(full_name)[1]
예제 #3
0
def test_checking_if_it_can_pull_id_from_fullPath(full_path, expected):
    assert expected == update_item_info(full_path)[0]
예제 #4
0
def test_if_it_can_tell_if_old_loc_and_new_loc_are_different(
        full_path, old_loc):
    assert old_loc == update_item_info(full_path)[1]
예제 #5
0
def test_Checking_if_it_can_pull_data_from_web(id, expected):
    full_name = os.path.join(PACKAGE_DIR, id + ".txt")
    assert expected == update_item_info(full_name)[1]
예제 #6
0
def test_checking_if_it_can_pull_id_from_fullPath(full_path, expected):
    assert expected == update_item_info(full_path)[0]