From 45ce2cc78909108579b4b3ae7aa95c9ea916133f Mon Sep 17 00:00:00 2001 From: Schulz Adrian Date: Fri, 11 Jun 2021 11:10:39 +0200 Subject: [PATCH] Fixed failing tests --- src/collective/taxonomy/tests/test_indexer.py | 1 + src/collective/taxonomy/tests/test_utility.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collective/taxonomy/tests/test_indexer.py b/src/collective/taxonomy/tests/test_indexer.py index 856adee..3449866 100644 --- a/src/collective/taxonomy/tests/test_indexer.py +++ b/src/collective/taxonomy/tests/test_indexer.py @@ -104,6 +104,7 @@ def test_querystring_widget(self): ("2", {"title": u"Information Science \xbb Book Collecting"}), ("3", {"title": u"Information Science \xbb Chronology"}), ("5", {"title": u"Information Science \xbb Sport"}), + ("55", {"title": u"Information Science \xbb Cars"}), ], ) diff --git a/src/collective/taxonomy/tests/test_utility.py b/src/collective/taxonomy/tests/test_utility.py index 42a8820..d3720ee 100644 --- a/src/collective/taxonomy/tests/test_utility.py +++ b/src/collective/taxonomy/tests/test_utility.py @@ -15,4 +15,4 @@ def test_make_tree(self): tree = taxonomy.makeVocabulary("en").makeTree() self.assertIn(u"Information Science", tree) - self.assertEqual(len(tree[u"Information Science"]), 3) + self.assertEqual(len(tree[u"Information Science"]), 4)