From 7a2fdd7d241fe81c085de51b39ad8a2a0a157487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 19 Aug 2019 12:11:54 +0200 Subject: [PATCH] chg: [Travis] Add more debug --- tests/testlive_comprehensive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 05bc11c..46ace49 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -1401,6 +1401,7 @@ class TestComprehensive(unittest.TestCase): self.assertEqual(response['attributes'][0].value, '1.2.3.5') self.assertEqual(response['attributes'][1].value, '1.2.3.6') self.assertTrue(isinstance(response['attributes'][1].tags, list), response['attributes'][1].to_json()) + self.assertTrue(len(response['attributes'][1].tags), response['attributes'][1].to_json()) self.assertEqual(response['attributes'][1].tags[0].name, 'tlp:amber___test') self.assertEqual(response['errors']['attribute_0']['value'][0], 'A similar attribute already exists for this event.') self.assertEqual(response['errors']['attribute_2']['value'][0], 'A similar attribute already exists for this event.')