@pytest.mark.parametrize('file_or_dir_name', ['non_existing_file.txt', 'non_existing_dir'])
def test_pull_non_existing(storage, file_or_dir_name, caplog):
    with caplog.at_level(logging.WARNING):
        pulled_files = storage.pull(file_or_dir_name)
    assert (len(pulled_files) == 0)
    assert ('No such remote file or directory' in caplog.text)
@pytest.mark.parametrize('file_or_dir_name', ['non_existing_file.txt', 'non_existing_dir'])
def test_pull_non_existing(storage, file_or_dir_name, caplog):
    with caplog.at_level(logging.WARNING):
        pulled_files = storage.pull(file_or_dir_name)
    assert (len(pulled_files) == 0)
    assert ('No such remote file or directory' in caplog.text)