Improved test_fulltext_search

master
Dylan DiGeronimo 2020-02-26 15:38:28 -05:00
parent 119680bf60
commit b035bb1cee
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def test_renewal_lookup(client):
def test_fulltext_search(client):
res = requests.get(API + "/search/fulltext?query=I%20Ching")
json_res = res.json()
assert len(json_res["data"]["results"]) == 10 # TODO: Improve this
assert json_res["data"]["results"][3]["renewal_num"] == RENEW_NUM
# Test the registration number search service is working
def test_registration_search(client):