add whois expand to test

pull/208/head
Sebdraven 2018-07-12 14:58:48 +02:00
parent 5a422c2e5b
commit 3eda712193
1 changed files with 10 additions and 10 deletions

View File

@ -124,16 +124,16 @@ def handle_domain(api, domain, misperrors):
# 'error'] + ' Error in expand History DNS'
# return misperrors
r, status_ok = expand_history_whois(api, domain)
if status_ok:
if r:
result_filtered['results'].extend(r)
else:
misperrors['error'] = misperrors['error'] + \
' Error in expand History Whois'
return misperrors
# r, status_ok = expand_history_whois(api, domain)
#
# if status_ok:
# if r:
#
# result_filtered['results'].extend(r)
# else:
# misperrors['error'] = misperrors['error'] + \
# ' Error in expand History Whois'
# return misperrors
return result_filtered