From 14e3ecdfdc7aba7dbc2ee1bd141633b34905ed84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 14 May 2020 15:55:18 +0200 Subject: [PATCH] chg: Add test for feed partial update --- tests/testlive_comprehensive.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 135450c..e656384 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -1891,10 +1891,10 @@ class TestComprehensive(unittest.TestCase): self.assertEqual(updated_feed.settings, e_thread_csv_feed.settings) updated_feed = self.admin_misp_connector.disable_feed(e_thread_csv_feed, pythonify=True) self.assertEqual(updated_feed.settings, e_thread_csv_feed.settings) - # Fails, partial update of the feed deletes the settigns - # https://github.com/MISP/MISP/issues/5896 - # updated_feed = self.admin_misp_connector.enable_feed(e_thread_csv_feed.id, pythonify=True) - # self.assertEqual(updated_feed.settings, e_thread_csv_feed.settings) + + # Test partial update + updated_feed = self.admin_misp_connector.enable_feed(e_thread_csv_feed.id, pythonify=True) + self.assertEqual(updated_feed.settings, e_thread_csv_feed.settings) def test_servers(self): # add