def test_episodeinfo_naming():
    """Parsing a s01e01 episode should return EpisodeInfo class
    """
    p = FileParser("scrubs.s01e01.avi").parse()
    assertType(p, EpisodeInfo)
    assertEquals(p.generate_filename(), "scrubs - [01x01].avi")
Parsing a s01e01 episode should return EpisodeInfo class
    
tests/test_fileparse_api.py