Changeset 2f650ac in flexoentity for tests/conftest.py


Ignore:
Timestamp:
10/22/25 14:22:21 (3 months ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
3d16c35
Parents:
859e2b1
Message:

add domain as entity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/conftest.py

    r859e2b1 r2f650ac  
    33import pytest
    44import json
    5 from flexoentity import FlexoEntity, EntityType, EntityState
     5from flexoentity import FlexoEntity, EntityType, EntityState, Domain
    66
    77
     
    3434    """Generic FlexoEntity-like instance in draft state."""
    3535    return DummyEntity(
    36         domain="AF",
     36        domain=Domain(domain="SIG", etype=EntityType.DOMAIN, state=EntityState.DRAFT, fullname="Signal Corps", classification="RESTRICTED"),
    3737        etype=EntityType.CATALOG,
    3838        state=EntityState.DRAFT,
Note: See TracChangeset for help on using the changeset viewer.