Remove domaintools tests

pull/82/merge
Raphaël Vinot 2016-12-02 16:16:25 +01:00
parent 2b020c55ba
commit f8bedd4554
1 changed files with 8 additions and 4 deletions

View File

@ -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__':