示例#1
0
def test_search_title_normal1():
    filename = 'movie_web_app/adapters/Data1000Movies.csv'
    file_reader = MovieFileCSVReader(filename)
    assert len(file_reader.get_movie_title("pirat")) == 3
示例#2
0
def test_search_title_fuzzy3():
    filename = 'movie_web_app/adapters/Data1000Movies.csv'
    file_reader = MovieFileCSVReader(filename)
    assert file_reader.get_movie_title("the avengerss") == [Movie("The Avengers", 2012)]