Changeset 753855a in flexoentity for tests/conftest.py
- Timestamp:
- 12/03/25 22:14:53 (6 weeks ago)
- Branches:
- master
- Children:
- ea28ca0
- Parents:
- 4459fa4
- File:
-
- 1 edited
-
tests/conftest.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/conftest.py
r4459fa4 r753855a 3 3 from pathlib import Path 4 4 from datetime import datetime 5 from flexoentity import Domain, FlexoSignature, DomainManager, EntityRegistry, CompositeBackend 5 from flexoentity import Domain, FlexoSignature, DomainManager, EntityRegistry, CompositeBackend, InMemoryBackend 6 6 from flexoentity import get_signing_backend, CertificateReference 7 7 … … 26 26 27 27 SYSTEM = platform.system() 28 29 @pytest.fixture 30 def backend(): 31 return InMemoryBackend(Domain) 28 32 29 33 … … 81 85 82 86 @pytest.fixture(scope="session") 83 def backend(test_cert, test_key):87 def signing_backend(test_cert, test_key): 84 88 """Return the correct backend for the current platform.""" 85 89
Note:
See TracChangeset
for help on using the changeset viewer.
