Debanjum Singh Solanky
179153dc5a
Rename RawConfig Types for Consistency
...
- Naming convention - [ContentType][ConfigType]Config
- Where [ConfigType] ~ Content, Search, Processor
- Where [ContentType] ~ Text, Image, Asymmetric, Symmetric, Conversation
- Current Configs:
- Content:
- Org Notes
- Org Music
- Image
- Ledger/Beancount
- Search:
- Asymmetric
- Symmetric
- Image
- Processor:
- Conversation
2022-01-14 20:54:38 -05:00
Debanjum Singh Solanky
ed144f7984
Setup Search with Search_Config to Fix Tests
...
- Rename pytest fixture search_config to more appropriate
content_config
- Create search_config pytest fixture
- Use search_config where search being setup, used in tests
2022-01-14 20:13:14 -05:00
Saba
ba8dc9ed5f
Update the search_config instantiated for tests in conftest
2021-12-11 14:14:31 -05:00
Saba
d65190c3ee
Update unit tests, files with removing model suffix to config types
2021-12-09 08:50:38 -05:00
Saba
76e9e9da2f
Update unit tests to use the new BaseModel types
2021-12-05 09:31:39 -05:00
Saba
c4cd4b57f1
Update types used in conftest.py
2021-12-04 12:02:19 -05:00
Debanjum Singh Solanky
7e0d9bafa7
Split test_main into client and search type specific test files
...
- Move search config fixture to conftests.py to be shared across tests
- Move image search type specific tests to test_image_search.py file
- Move, create asymmetric search type specific tests in new file
2021-10-02 20:28:33 -07:00
Debanjum Singh Solanky
da33e9e743
Create test directory with model data to reuse for pytest session
...
- Use pytest fixture with session scope
- Instantiate test directory with model data to reuse for tests
2021-10-02 19:46:29 -07:00