mirror of https://github.com/MISP/misp-modules
fix: [tests] Added missing variable
parent
3f7ee7c1a2
commit
aa721acfd9
|
@ -108,6 +108,7 @@ class TestExpansions(unittest.TestCase):
|
||||||
except Exception:
|
except Exception:
|
||||||
self.assertTrue(self.get_errors(response).startswith('There is an authentication error'))
|
self.assertTrue(self.get_errors(response).startswith('There is an authentication error'))
|
||||||
else:
|
else:
|
||||||
|
response = self.misp_modules_post(query)
|
||||||
self.assertTrue(self.get_errors(response).startswith('CIRCL Passive DNS authentication is incomplete'))
|
self.assertTrue(self.get_errors(response).startswith('CIRCL Passive DNS authentication is incomplete'))
|
||||||
|
|
||||||
def test_circl_passivessl(self):
|
def test_circl_passivessl(self):
|
||||||
|
@ -125,6 +126,7 @@ class TestExpansions(unittest.TestCase):
|
||||||
except Exception:
|
except Exception:
|
||||||
self.assertTrue(self.get_errors(response).startswith('There is an authentication error'))
|
self.assertTrue(self.get_errors(response).startswith('There is an authentication error'))
|
||||||
else:
|
else:
|
||||||
|
response = self.misp_modules_post(query)
|
||||||
self.assertTrue(self.get_errors(response).startswith('CIRCL Passive SSL authentication is incomplete'))
|
self.assertTrue(self.get_errors(response).startswith('CIRCL Passive SSL authentication is incomplete'))
|
||||||
|
|
||||||
def test_countrycode(self):
|
def test_countrycode(self):
|
||||||
|
|
Loading…
Reference in New Issue