Small var fix in testing search results

main
Ben Busby 2020-04-15 17:48:49 -06:00
parent 22381d6991
commit ab59682cad
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from test.conftest import client
def get_search_results(data): def get_search_results(data):
soup = Filter().clean(BeautifulSoup(rv.data, 'html.parser')) soup = Filter().clean(BeautifulSoup(data, 'html.parser'))
main_divs = soup.find('div', {'id': 'main'}) main_divs = soup.find('div', {'id': 'main'})
assert len(main_divs) > 1 assert len(main_divs) > 1