Merge pull request #341 from StefanKelm/master

Update test_expansions.py
pull/356/head
Raphaël Vinot 2019-11-26 17:21:33 +01:00 committed by GitHub
commit 1df0d9152e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class TestExpansions(unittest.TestCase):
def test_btc_scam_check(self): def test_btc_scam_check(self):
query = {"module": "btc_scam_check", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"} query = {"module": "btc_scam_check", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"}
response = self.misp_modules_post(query) response = self.misp_modules_post(query)
self.assertEqual(self.get_values(response), '1es14c7qlb5cyhlmuekctxlgc1fv2ti9da fraudolent bitcoin address') self.assertEqual(self.get_values(response), '1es14c7qlb5cyhlmuekctxlgc1fv2ti9da fraudulent bitcoin address')
def test_countrycode(self): def test_countrycode(self):
query = {"module": "countrycode", "domain": "www.circl.lu"} query = {"module": "countrycode", "domain": "www.circl.lu"}