def test_datedepisode_no_name_no_ext():
    # type: () -> None
    """DatedEpisodeInfo with no name or extension
    """
    ep = DatedEpisodeInfo(
        seriesname = 'Scrubs',
        episodenumbers = [datetime.date(2010, 11, 23)],
        episodename = None,
        filename = None)

    assertEquals(
        ep.generate_filename(),
        'Scrubs - [2010-11-23]')
DatedEpisodeInfo with no name or extension
    
tests/test_name_generation.py