The idea of that PR is to split test.py file into pieces as now it's difficult to work with that file. IDEA needs more time to index the file, plus its more difficult to find the class/mixing you need.
What have been made in this PR:
move all encryptor config files from tests/* to tests/encryptor_configs folder.
split test.py into several subfiles with tests:
base.py contains all general classes/constants/mixings etc
searchable_transparent_encryption.py contains base mixing for searchable/transparent encryption tests and their related tests;
tokenization.py - contains base mixing for tokenization/masking tests and their related tests;
type_aware.py - contains all tests related to TA
integrations.py - contains all tests with integrations (AWS, Vault, Consul, etc)
test.py has less than 5k of codes now and contains general tests unrelated to the previously described. The idea was to save test.py file as the main file, not to change the CI running scripts.
Currently, PR is in a draft state, as some test files can be added and structure can be changed.
The idea of that PR is to split
test.py
file into pieces as now it's difficult to work with that file. IDEA needs more time to index the file, plus its more difficult to find the class/mixing you need.What have been made in this PR:
tests/*
totests/encryptor_configs
folder.split test.py into several subfiles with tests:
base.py
contains all general classes/constants/mixings etcsearchable_transparent_encryption.py
contains base mixing for searchable/transparent encryption tests and their related tests;tokenization.py
- contains base mixing for tokenization/masking tests and their related tests;type_aware.py
- contains all tests related to TAintegrations.py
- contains all tests with integrations (AWS, Vault, Consul, etc)test.py
has less than 5k of codes now and contains general tests unrelated to the previously described. The idea was to savetest.py
file as the main file, not to change the CI running scripts.Currently, PR is in a draft state, as some test files can be added and structure can be changed.
Checklist