Skip to content

Commit

Permalink
assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew J Xu committed Oct 23, 2023
1 parent 4d13bda commit 75acb6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/test_prereq_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def test_raw_prereqs_coreqs(verbose=False):
elif verbose:
print(f"WRONG Answer: {answer} Got: {response}")
print(f"{correct / total * 100}%")
assert correct / total * 100 == 100


@pytest.mark.skipif(os.environ.get("RUN_LANGCHAIN_TESTS") == "false", reason="skip")
Expand Down Expand Up @@ -174,3 +175,4 @@ def test_prereqs_coreqs(index=None, shorten=False, verbose=False, hard=False):
elif verbose:
print(f"WRONG Answer: {answer} Got: {response}")
print(f"{correct / total * 100}%")
assert correct / total * 100 == 100

0 comments on commit 75acb6a

Please sign in to comment.