def test_name_by_random_fours_two_files_with_path(shuffle): files = ['/path/one.txt', '/path/two.csv'] result = list(blind.name_by_random_fours(files)) assert result == [('/path/one.txt', '/path/aaaa.txt'), ('/path/two.csv', '/path/bbbb.csv')]
def test_name_by_random_fours_two_files(shuffle): files = ['one.txt', 'two.csv'] result = list(blind.name_by_random_fours(files)) assert result == [('one.txt', 'aaaa.txt'), ('two.csv', 'bbbb.csv')]
def test_name_by_random_fours_one_file(shuffle): files = ['one.txt'] result = list(blind.name_by_random_fours(files)) assert result == [('one.txt', 'aaaa.txt')]