Changeset 753855a in flexoentity for tests/conftest.py


Ignore:
Timestamp:
12/03/25 22:14:53 (6 weeks ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
ea28ca0
Parents:
4459fa4
Message:

add more backends and tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/conftest.py

    r4459fa4 r753855a  
    33from pathlib import Path
    44from datetime import datetime
    5 from flexoentity import Domain, FlexoSignature, DomainManager, EntityRegistry, CompositeBackend
     5from flexoentity import Domain, FlexoSignature, DomainManager, EntityRegistry, CompositeBackend, InMemoryBackend
    66from flexoentity import get_signing_backend, CertificateReference
    77
     
    2626
    2727SYSTEM = platform.system()
     28
     29@pytest.fixture
     30def backend():
     31    return InMemoryBackend(Domain)
    2832
    2933
     
    8185
    8286@pytest.fixture(scope="session")
    83 def backend(test_cert, test_key):
     87def signing_backend(test_cert, test_key):
    8488    """Return the correct backend for the current platform."""
    8589
Note: See TracChangeset for help on using the changeset viewer.