def test_single_extensions():
    """Tests one valid extension with multiple files
    """

    conf = """
    {"always_rename": true,
    "select_first": true,
    "valid_extensions": ["mkv"]}
    """

    out_data = run_tvnamer(
        with_files = ['scrubs.s01e01.avi', 'scrubs.s01e02.mkv'],
        with_config = conf)

    expected_files = [
        'scrubs.s01e01.avi',
        'Scrubs - [01x02] - My Mentor.mkv']

    verify_out_data(out_data, expected_files)
Tests one valid extension with multiple files
    
tests/test_limit_by_extension.py