def test_unique_name_counter(path_exists): path_exists.side_effect = [True, False] assert (cli._unique_name("base", "subtype", "video", "target") == "base_video_1")
def test_unique_name(path_exists): assert (cli._unique_name("base", "subtype", "video", "target") == "base_video_0")