Browse Source

Remove domaintools tests

pull/82/merge
Raphaël Vinot 5 years ago
parent
commit
f8bedd4554
  1. 12
      tests/test.py

12
tests/test.py

@ -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…
Cancel
Save