Add more tests in for caching, still WIP

This commit is contained in:
Rebecca Hsieh 2024-02-20 18:04:13 -08:00
parent 7e1c1f419e
commit a14a32159c
No known key found for this signature in database
3 changed files with 173 additions and 8 deletions

View file

@ -1679,6 +1679,8 @@ class Domain(TimeStampedModel, DomainHelper):
try:
data_response = self._get_or_create_domain()
cache = self._extract_data_from_response(data_response)
# print("!!! cache is")
# print(cache)
cleaned = self._clean_cache(cache, data_response)
self._update_hosts_and_contacts(cleaned, fetch_hosts, fetch_contacts)
if fetch_hosts: