mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Cleanup Test Asymmetric Search to Fix Test
- test_regenerate_with_valid_content failed when run after test_asymmetric_search - test_asymmetric_search did't clean the temporary update to config it had made - This was resulting in regenerate looking for a file that didn't exist
This commit is contained in:
@@ -73,4 +73,5 @@ def test_asymmetric_reload(content_config: ContentConfig, search_config: SearchC
|
||||
|
||||
# Cleanup
|
||||
# delete reload test file added
|
||||
content_config.org.input_files = []
|
||||
file_to_add_on_reload.unlink()
|
||||
|
||||
Reference in New Issue
Block a user