Create a single source for resources shared by data_store
and data_store_serialization
test cases.
#894
Labels
Milestone
data_store
and data_store_serialization
test cases.
#894
Is your feature request related to a problem? Please describe.
The resources used to define the test cases in
data_store_test.py
anddata_store_serialization_test.py
are the same in many cases. For example: The structure of_type_attributes
for most entries in both the above mentioned files is quire similar in most casesDescribe the solution you'd like
In order to reduce this redundancy, there should be a central file that can store these configurations and a clear format for them to be accessed by these tests. Note that although the configurations look quite similar, there are subtle differences in some cases that are intentional. For example, in
data_store_serialization_test.py
, the_type_attributes
forDocument
is given byNote that this configuration misses the
document_class
attribute intentionally. Thus, the proposed solution needs to have provisions to handle the slight changes in structure.Additional Context
data efficiency
projectmaster
branch.The text was updated successfully, but these errors were encountered: