Changeset ef964d8 in flexoentity for tests/test_flexoid.py


Ignore:
Timestamp:
11/27/25 18:12:23 (7 weeks ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
4e11d58
Parents:
9a50e0b
Message:

new serialization structure adopted and tests fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test_flexoid.py

    r9a50e0b ref964d8  
    111111# ──────────────────────────────────────────────
    112112
    113 def test_canonical_seed_for_strings_and_dicts():
     113def test_canonical_seed_for_strings():
    114114    s1 = "  Hello   world "
    115115    s2 = "Hello world"
    116116    assert canonical_seed(s1) == canonical_seed(s2)
    117 
    118     d1 = {"b": 1, "a": 2}
    119     d2 = {"a": 2, "b": 1}
    120     assert canonical_seed(d1) == canonical_seed(d2)
    121 
    122     class Dummy:
    123         def __init__(self):
    124             self.x = 1
    125             self.y = 2
    126     obj = Dummy()
    127     assert isinstance(canonical_seed(obj), str)
    128 
    129117
    130118# ──────────────────────────────────────────────
Note: See TracChangeset for help on using the changeset viewer.