fix: [test] cache url test

pull/549/head
Alexandre Dulaunoy 2022-02-03 19:38:42 +01:00
parent cc4c9935d5
commit c20c407283
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ class TestExpansions(unittest.TestCase):
query = {"module": "sourcecache", "link": input_value}
response = self.misp_modules_post(query)
self.assertEqual(self.get_values(response), input_value)
self.assertTrue(self.get_data(response).startswith('PCFET0NUWVBFIEhUTUw+CjwhLS0KCUFyY2FuYSBieSBIVE1MN'))
self.assertTrue(self.get_data(response))
def test_stix2_pattern_validator(self):
query = {"module": "stix2_pattern_syntax_validator", "stix2-pattern": "[ipv4-addr:value = '8.8.8.8']"}