예제 #1
0
    def test_rename_and_reorganize_collection_with_album(self, collection):
        album_path = path.join(collection, 'album')
        album = next(controller.build_albums(album_path))

        reorganize.reorganize_and_rename_collection(
            collection, include_only=album)

        self._assert_exists(album, collection)
예제 #2
0
 def test_rename_and_reorganize_collection(self, collection):
     albums = controller.build_albums(collection, True)
     reorganize.reorganize_and_rename_collection(collection)
     self._assert_exists(albums, collection)