def test_episode_numeric_title():
    # type: () -> None
    """An episode with a name starting with a number should not be
    detected as a range
    """

    ep = EpisodeInfo(
        seriesname = 'Star Trek TNG',
        seasonnumber = 1,
        episodenumbers = [15],
        episodename = [
            '11001001'
        ],
        filename = 'STTNG-S01E15-11001001.avi')

    assertEquals(
        ep.generate_filename(),
        'Star Trek TNG - [01x15] - 11001001.avi')
An episode with a name starting with a number should not be
    detected as a range
    
tests/test_name_generation.py