Skip to content

Commit

Permalink
Test for pull request dbr#27, search by absolute episode number
Browse files Browse the repository at this point in the history
  • Loading branch information
dbr committed Mar 26, 2011
1 parent 6604f4b commit b00eba0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/test_configfunctional.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,21 @@ def test_abs_epnmber():

verify_out_data(out_data, expected_files)


@attr("functional")
def test_abs_epnmber():
"""Test resolving by absolute episode number
"""

conf = """
{"always_rename": true,
"select_first": true}
"""

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

expected_files = ['Scrubs - 01.avi']

verify_out_data(out_data, expected_files)

0 comments on commit b00eba0

Please sign in to comment.