mirror of https://github.com/MISP/misp-modules
Remove domaintools tests
parent
2b020c55ba
commit
f8bedd4554
|
@ -58,10 +58,14 @@ class TestModules(unittest.TestCase):
|
|||
response = requests.post(self.url + "query", data=f.read()).json()
|
||||
assert(response)
|
||||
|
||||
def test_domaintools(self):
|
||||
query = {'config': {'username': 'test_user', 'api_key': 'test_key'}, 'module': 'domaintools', 'domain': 'domaintools.com'}
|
||||
response = requests.post(self.url + "query", data=json.dumps(query)).json()
|
||||
print(response)
|
||||
#def test_domaintools(self):
|
||||
# query = {'config': {'username': 'test_user', 'api_key': 'test_key'}, 'module': 'domaintools', 'domain': 'domaintools.com'}
|
||||
# try:
|
||||
# response = requests.post(self.url + "query", data=json.dumps(query)).json()
|
||||
# except:
|
||||
# pass
|
||||
# response = requests.post(self.url + "query", data=json.dumps(query)).json()
|
||||
# print(response)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue