Skip to content

Commit

Permalink
fix integration tests (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Mar 18, 2024
1 parent 22a9eee commit d9748fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/tests/integration_tests/test_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class Person(BaseModel):
)
assert result.status_code == 200, result.text
response_data = result.json()
assert response_data == {}
assert isinstance(response_data["output"]["data"], list)

# Test with instructions
Expand Down Expand Up @@ -79,7 +78,7 @@ class Person(BaseModel):
json={
"input": {
"text": text,
"schema": Person(),
"schema": Person.schema(),
"instructions": "Redact all names using the characters `######`",
"examples": examples,
}
Expand Down

0 comments on commit d9748fd

Please sign in to comment.