mirror of https://github.com/MISP/misp-modules
fix: [test] cache url test
parent
cc4c9935d5
commit
c20c407283
|
@ -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']"}
|
||||
|
|
Loading…
Reference in New Issue