Test search uses ancestor headings as context for improved results

- Update test data to add deeper outline hierarchy for testing
  hierarchy as context
- Update collateral tests that need count of entries updated, deleted
  asserts to be updated
This commit is contained in:
Debanjum Singh Solanky
2023-11-16 02:47:58 -08:00
parent 74403e3536
commit ddb07def0d
6 changed files with 77 additions and 18 deletions

View File

@@ -69,7 +69,7 @@ def test_index_update_with_user2_inaccessible_user1(client, api_user2: KhojApiUs
# Assert
assert update_response.status_code == 200
assert len(results) == 4
assert len(results) == 5
for result in results:
assert result["additional"]["file"] not in source_file_symbol