fix fact-random test
@@ -10,7 +10,7 @@ def main():
possible_results = load_fact_file("./facts_for_animals.json")["aardvark"]
result = requests.post(url, json=request_data).json()
- assert result[0][0]["fact"] in possible_results
+ assert result[0]["facts"][0]["fact"] in possible_results
print("Success")
