khoj/tests
Debanjum Singh Solanky 9d369ae4df Fix OrgNode render of entries with property drawers and empty body
- Issue
  - Indent regex was previously catching escape sequences like newlines
  - This was resulting in entries with only escape sequences in body to
    be prepended to property drawers etc during rendering
- Fix
  - Update indent regex to only look for spaces in each line
  - Only render body when body contains non-escape characters
  - Create test to prevent this regression from silently resurfacing
2022-09-11 16:09:19 +03:00
..
data Rename org-mode test data directory to more specific org/ from notes/ 2022-08-04 22:29:57 +03:00
__init__.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
conftest.py Merge branch 'master' into support-incremental-updates-of-embeddings 2022-09-10 22:37:13 +03:00
test_beancount_to_jsonl.py Add basic tests for beancount to jsonl conversion 2022-09-11 00:16:02 +03:00
test_chatbot.py Fix the user intent extraction prompt for GPT. Clean up chatbot test 2022-01-12 10:36:01 -05:00
test_cli.py Clean-up generated file after image search test run 2022-09-10 21:43:31 +03:00
test_client.py Do not store word filters index to file. Not necessary for now 2022-09-10 21:01:54 +03:00
test_date_filter.py Do not pass embeddings as argument to filter.apply method 2022-09-05 15:46:54 +03:00
test_file_filter.py Do not pass embeddings as argument to filter.apply method 2022-09-05 15:46:54 +03:00
test_helpers.py Create LRU helper class for caching 2022-09-04 16:31:46 +03:00
test_image_search.py Clean-up generated file after image search test run 2022-09-10 21:43:31 +03:00
test_markdown_to_jsonl.py Add basic tests for markdown to jsonl conversion 2022-09-11 00:15:27 +03:00
test_org_to_jsonl.py Set index_heading_entries field in config to index entries with no body 2022-09-11 16:09:19 +03:00
test_orgnode.py Fix OrgNode render of entries with property drawers and empty body 2022-09-11 16:09:19 +03:00
test_text_search.py Raise exception when org file not found 2022-09-11 01:09:24 +03:00
test_word_filter.py Do not store word filters index to file. Not necessary for now 2022-09-10 21:01:54 +03:00