Changeset b24d72e in flexoentity for tests


Ignore:
Timestamp:
11/21/25 11:01:43 (8 weeks ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
a475496
Parents:
9592936
Message:

move DomainManager to FlexoGrader

Location:
tests
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • tests/conftest.py

    r9592936 rb24d72e  
    44from dataclasses import dataclass, field
    55from typing import List
    6 from flexoentity import FlexOID, FlexoEntity, EntityType, EntityState, Domain, DomainManager
     6from flexoentity import FlexOID, FlexoEntity, EntityType, EntityState, Domain
    77
    88@pytest.fixture
     
    1414    monkeypatch.setattr("flexoentity.id_factory.datetime", FixedDate)
    1515    return FixedDate
    16 
    17 @pytest.fixture(autouse=True)
    18 def reset_domain_manager():
    19     DomainManager.clear()   # You need to implement this
    20     yield
    21     DomainManager.clear()
    22 
    23 @pytest.fixture(autouse=True)
    24 def auto_domains():
    25     Domain.with_domain_id("GENERAL", fullname="General Domain")
    26     Domain.with_domain_id("TEST", fullname="Test Domain")
    2716
    2817@dataclass
Note: See TracChangeset for help on using the changeset viewer.