Skip to content
Snippets Groups Projects
Commit 58293d41 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

TST: add failing test

parent ff3b107d
No related branches found
No related tags found
2 merge requests!71REL: RElease v0.2.0,!59Fix hash function
...@@ -53,6 +53,8 @@ def test_create_hash(): ...@@ -53,6 +53,8 @@ def test_create_hash():
db.Record("A") db.Record("A")
.add_parent("B") .add_parent("B")
.add_property('a', [db.Record(id=12), 11])) == "P<B>N<A>a:[12, 11]") .add_property('a', [db.Record(id=12), 11])) == "P<B>N<A>a:[12, 11]")
assert (_create_hashable_string(db.Record().add_parent("B").add_property('a', [db.Record()]))
!= _create_hashable_string(db.Record().add_parent("B").add_property('a', [db.Record()])))
def test_IdentifiedCache(): def test_IdentifiedCache():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment