fix: [tests] Fixed BGP raking module test

pull/367/head
chrisr3d 2020-01-21 22:04:08 +01:00
parent a88f19942f
commit f28aaf07c4
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class TestExpansions(unittest.TestCase):
def test_bgpranking(self): def test_bgpranking(self):
query = {"module": "bgpranking", "AS": "13335"} query = {"module": "bgpranking", "AS": "13335"}
response = self.misp_modules_post(query) response = self.misp_modules_post(query)
self.assertEqual(self.get_values(response)['response']['asn_description'], 'CLOUDFLARENET - Cloudflare, Inc., US') self.assertEqual(self.get_values(response)['response']['asn_description'], 'CLOUDFLARENET, US')
def test_btc_steroids(self): def test_btc_steroids(self):
query = {"module": "btc_steroids", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"} query = {"module": "btc_steroids", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"}