def test_get_map_filename_with_path(): files = ['/a/path/one.txt', '/a/path/two.txt'] result = blind._get_map_filename(files, map_id='3') assert result == '/a/path/blind-map-3.csv'
def test_get_map_filename(): files = ['one.txt', 'two.txt'] result = blind._get_map_filename(files, map_id='3') assert result == 'blind-map-3.csv'