From abd6b2c5ee255c78a6aef63b7114c20d37a9f001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Fri, 17 Dec 2021 10:56:43 +0100 Subject: [PATCH] FIX: add another cache reset --- unittests/test_tool.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unittests/test_tool.py b/unittests/test_tool.py index bed59210..08d3a816 100755 --- a/unittests/test_tool.py +++ b/unittests/test_tool.py @@ -412,6 +412,9 @@ def test_split_into_inserts_and_updates(crawler): assert len(update) == 1 assert update[0].name == "A" + # reset cache + cache.clear() + # try circular a = db.Record(name="A") b = db.Record(name="B") -- GitLab