fix: Updated ipasn test following the latest changes on the module

pull/363/head
chrisr3d 3 years ago
parent b3bc533bc3
commit 8db9891c83
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
  1. 4
      tests/test_expansions.py

@ -237,9 +237,7 @@ class TestExpansions(unittest.TestCase):
def test_ipasn(self):
query = {"module": "ipasn", "ip-dst": "1.1.1.1"}
response = self.misp_modules_post(query)
key = list(self.get_values(response)['response'].keys())[0]
entry = self.get_values(response)['response'][key]['asn']
self.assertEqual(entry, '13335')
self.assertEqual(self.get_object(response), 'asn')
def test_macaddess_io(self):
module_name = 'macaddress_io'

Loading…
Cancel
Save