fix: [test] Remove debug print

pull/783/head
Jakub Onderka 2021-08-31 16:55:25 +02:00
parent 2e698d70ba
commit 0abe34f106
1 changed files with 0 additions and 2 deletions

View File

@ -1318,8 +1318,6 @@ class TestComprehensive(unittest.TestCase):
# The existing_object is a overwrite_file object, unless we uncomment the line above, type= is required below. # The existing_object is a overwrite_file object, unless we uncomment the line above, type= is required below.
existing_object.add_attribute('pattern-in-file', value='foo', type='text') existing_object.add_attribute('pattern-in-file', value='foo', type='text')
updated_existing_object = self.admin_misp_connector.update_object(existing_object, pythonify=True) updated_existing_object = self.admin_misp_connector.update_object(existing_object, pythonify=True)
print(updated_existing_object.to_json(indent=2))
print(updated_existing_object.get_attributes_by_relation('pattern-in-file'))
self.assertEqual(updated_existing_object.get_attributes_by_relation('pattern-in-file')[0].value, 'foo', updated_existing_object) self.assertEqual(updated_existing_object.get_attributes_by_relation('pattern-in-file')[0].value, 'foo', updated_existing_object)
finally: finally: