def test_multi_episodes_continuous():
    # type: () -> None
    """A two-part episode should not have the episode name repeated
    """
    ep = EpisodeInfo(
        seriesname = 'Stargate SG-1',
        seasonnumber = 1,
        episodenumbers = [1, 2],
        episodename = [
            'Children of the Gods (1)',
            'Children of the Gods (2)'],
        filename = 'stargate.example.file.avi')

    assertEquals(
        ep.generate_filename(),
        'Stargate SG-1 - [01x01-02] - Children of the Gods (1-2).avi')
A two-part episode should not have the episode name repeated
    
tests/test_name_generation.py