basyx-python-sdk
basyx-python-sdk copied to clipboard
Extend ObjectStore tests to both implementations
A _STORE_CLASSES class variable is introduced and duplicate test
methods are consolidated into subTest loops covering both store implementations.
Before:
basyx/aas/model/provider.py 119 37 32 0 68% 34, 60, 174-180, [...]
After:
basyx/aas/model/provider.py 125 11 32 0 93% 34, 60, 72, [...]
Also add type annotations, now AbstractObjectStore instead of specific implementations (Dict / Set)