Skip to content

Commit

Permalink
Also adjusted test_get_directory_index_w_manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza committed Sep 13, 2024
1 parent df9c26a commit 4921893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ async def test_get_directory_index_w_manifest(
"title",
"year",
], "Incorrect fields in index"
# paper.pdf + flag_day.html + bates.txt + obama.txt
assert len(await index.index_files) == 4, "Incorrect number of index files"
# paper.pdf + empty.txt + flag_day.html + bates.txt + obama.txt
assert len(await index.index_files) == 5, "Incorrect number of index files"
results = await index.query(query="who is Frederick Bates?")
top_result = next(iter(results[0].docs.values()))
paper_dir = cast(Path, agent_test_settings.paper_directory)
Expand Down

0 comments on commit 4921893

Please sign in to comment.