def test_noseason_no_name_no_ext():
    # type: () -> None
    """NoSeasonEpisodeInfo with no name or extension
    """
    ep = NoSeasonEpisodeInfo(
        seriesname = 'Scrubs',
        episodenumbers = [2],
        episodename = None,
        filename = None)

    assertEquals(
        ep.generate_filename(),
        'Scrubs - [02]')
NoSeasonEpisodeInfo with no name or extension
    
tests/test_name_generation.py