def test_run_virtualmusic(): argv = ['-vcd', '-t', 'virtualmusic', './'] gen = TagGenerator(artist='The Wall', album='Bricks', title=u'Who’s number {track}?') arranger.run(argv, gen.next) assert os.path.isdir('virtualmusic/W/') is True
def test_dryrun(): argv = ['-n', './'] gen = TagGenerator(artist='The Wall', album='Bricks', title=u'Who’s number {track}?') arranger.run(argv, gen.next)