Skip to content

Commit

Permalink
Test script quality of life improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Aug 17, 2024
1 parent 0bbbfbd commit 0902ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def query(self, request: Optional[str], endl: str = '\n') -> str:
"""
# Assert that we have not run out of responses
# and that the request is the next one we expect
assert self.request_index < len(self.responses)
assert self.request_index < len(self.responses), f"Unexpected request: {request}"
assert request == self.responses[self.request_index][0]

# Fetch the response and increment the request index
Expand Down

0 comments on commit 0902ef7

Please sign in to comment.