def METHOD_NAME(cls):
    """Set up class for tests."""
    num_legacy_shows = 3
    num_shows = 3
    num_episodes_per_show = 5
    cls.mydb = db.DBConnection()
    cls.legacy_shows = []
    cls.shows = []
    # Per-show-notifications were originally added for email notifications only.  To add
    # this feature to other notifiers, it was necessary to alter the way text is stored in
    # one of the DB columns.  Therefore, to test properly, we must create some shows that
    # store emails in the old method (legacy method) and then other shows that will use
    # the new method.
    for show_counter in list(range(100, 100 + num_legacy_shows)):
        show = Series(1, show_counter)
        show.name = "Show " + text_type(show_counter)
        show.episodes = []
        for episode_counter in list(range(0, num_episodes_per_show)):
            episode = Episode(show, test.SEASON, episode_counter)
            episode.name = "Episode " + text_type(episode_counter + 1)
            episode.quality = "SDTV"
            show.episodes.append(episode)
        show.save_to_db()
        cls.legacy_shows.append(show)
    for show_counter in list(range(200, 200 + num_shows)):
        show = Series(1, show_counter)
        show.name = "Show " + text_type(show_counter)
        show.episodes = []
        for episode_counter in list(range(0, num_episodes_per_show)):
            episode = Episode(show, test.SEASON, episode_counter)
            episode.name = "Episode " + text_type(episode_counter + 1)
            episode.quality = "SDTV"
            show.episodes.append(episode)
        show.save_to_db()
        cls.shows.append(show)