def test_never_skip_file():
    """Test for using skip_file_on_error to always do best-effort rename of file without TVDB data
    """

    conf = """
    {"batch": true,
    "skip_file_on_error": false}
    """

    out_data = run_tvnamer(
        with_files = ['scrubs.s01e01.avi', 'a.nonsense.fake.episode.s01e01.avi'],
        with_config = conf,
        with_input = "")

    expected_files = ['Scrubs - [01x01] - My First Day.avi', 'a nonsense fake episode - [01x01].avi']

    verify_out_data(out_data, expected_files)
Test for using skip_file_on_error to always do best-effort rename of file without TVDB data
    
tests/test_configfunctional.py