fix: DBL spamhaus test

pull/339/head
chrisr3d 2019-10-05 00:15:29 +02:00
parent 1130eaf840
commit 6a3c907222
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class TestExpansions(unittest.TestCase):
def test_dbl_spamhaus(self):
query = {"module": "dbl_spamhaus", "domain": "totalmateria.net"}
response = self.misp_modules_post(query)
self.assertEqual(self.get_values(response), 'totalmateria.net - spam domain')
self.assertTrue(self.get_values(response).startswith('None of DNS query names exist: totalmateria.net.dbl.spamhaus.org.'))
def test_dns(self):
query = {"module": "dns", "hostname": "www.circl.lu", "config": {"nameserver": "8.8.8.8"}}