Skip to content

Commit

Permalink
Ensure parsed episode name is re-parsable
Browse files Browse the repository at this point in the history
  • Loading branch information
dbr committed Mar 26, 2011
1 parent 15e2a01 commit fb10f51
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions tests/test_configfunctional.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,19 @@ def test_abs_epnmber():

out_data = run_tvnamer(
with_files = ['[Bleachverse]_BLEACH_310.avi'],
with_config = conf)
with_config = conf,
with_input = "")

expected_files = ['Scrubs - 01.avi']
expected_files = ['Bleach - [310] - Ichigo\'s Resolution.avi']

verify_out_data(out_data, expected_files)

print "Checking output files are re-parsable"
out_data = run_tvnamer(
with_files = expected_files,
with_config = conf,
with_input = "")

expected_files = ['Bleach - [310] - Ichigo\'s Resolution.avi']

verify_out_data(out_data, expected_files)

0 comments on commit fb10f51

Please sign in to comment.