def test_get_episode(db):
    ep_in = EpisodeCreate(name='ep1', air_date='2022-03-04', segment=random_segment())
    ep = crud.episode.create(db, ep_in)
    assert crud.episode.get(db, ep.id)
def test_get_episode(db):
    ep_in = EpisodeCreate(name='ep1', air_date='2022-03-04', segment=random_segment())
    ep = crud.episode.create(db, ep_in)
    assert crud.episode.get(db, ep.id)