@pytest.mark.parametrize('test_input,expected', [({'segment': 's01e15'}, 0), ({'segment': 'S01e01'}, 1)])
def test_segment_search_episode(db, setup, test_input, expected):
    obj_in = EpisodeSearch(**test_input)
    assert (len(crud.episode.search(db, obj_in)) == expected)
@pytest.mark.parametrize('test_input,expected', [({'segment': 's01e15'}, 0), ({'segment': 'S01e01'}, 1)])
def test_segment_search_episode(db, setup, test_input, expected):
    obj_in = EpisodeSearch(**test_input)
    assert (len(crud.episode.search(db, obj_in)) == expected)