Changeset fd1913f in flexoentity for tests


Ignore:
Timestamp:
11/20/25 12:01:11 (8 weeks ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
9592936
Parents:
32fdc4a
Message:

version logic simplified - parsed renamed to to_dict

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/conftest.py

    r32fdc4a rfd1913f  
    8282        # restore FlexoEntity core fields
    8383        if "flexo_id" in data:
    84             obj.flexo_id = FlexOID.parsed(data["flexo_id"])
     84            obj.flexo_id = FlexOID.to_dict(data["flexo_id"])
    8585        return obj
    8686
  • tests/test_flexoid.py

    r32fdc4a rfd1913f  
    134134def test_parsed_returns_expected_dict():
    135135    fid = FlexOID("GEN-I251101-ABCDEF123456@007S")
    136     data = fid.parsed()
     136    data = fid.to_dict()
    137137    assert data["domain_id"] == "GEN"
    138138    assert data["entity_type"] == "I"
Note: See TracChangeset for help on using the changeset viewer.