From d68ed8352bbd1851dadf8a5c2f0d93b049cc0d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Sun, 13 Nov 2022 16:57:39 +0100 Subject: [PATCH] sty --- unittests/test_identified_cache.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/unittests/test_identified_cache.py b/unittests/test_identified_cache.py index d0025bef..4a9ee2a8 100644 --- a/unittests/test_identified_cache.py +++ b/unittests/test_identified_cache.py @@ -44,8 +44,10 @@ def test_create_hash(): b = _create_hashable_string( Identifiable(name="A", record_type="B", properties={'b': 5, 'a': 4})) assert a == b - assert (_create_hashable_string(Identifiable(name="A", record_type="B", - properties={'a': db.Record(id=12)})) == "P<B>N<A>Path<None>a:12") + assert ( + _create_hashable_string( + Identifiable(name="A", record_type="B", properties={'a': db.Record(id=12)}) + ) == "P<B>N<A>Path<None>a:12") a = _create_hashable_string( Identifiable(name="A", record_type="B", properties={'a': [db.Record(id=12)]})) assert (a == "P<B>N<A>Path<None>a:[12]") -- GitLab