From 3793fb1b3b64b6c12d64e7e7eaaf5353637539c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sun, 21 Jul 2019 01:46:10 +0200 Subject: [PATCH] fix: [tests] By default, the workflow taxonomy isn't enabled. --- tests/testlive_comprehensive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 387ddac..01f630b 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -1402,10 +1402,10 @@ class TestComprehensive(unittest.TestCase): attr_stats = self.admin_misp_connector.attributes_statistics(context='category', percentage=True) self.assertDictEqual(attr_stats, expected_attr_stats_category_percent) # Tags - to_test = {'tags': {'tlp:white___test': '1'}, 'taxonomies': {'workflow': 0}} + to_test = {'tags': {'tlp:white___test': '1'}, 'taxonomies': []} tags_stats = self.admin_misp_connector.tags_statistics() self.assertDictEqual(tags_stats, to_test) - to_test = {'tags': {'tlp:white___test': '100%'}, 'taxonomies': {'workflow': '0%'}} + to_test = {'tags': {'tlp:white___test': '100%'}, 'taxonomies': []} tags_stats = self.admin_misp_connector.tags_statistics(percentage=True, name_sort=True) self.assertDictEqual(tags_stats, to_test) # Users