domain mock added with mock object

This commit is contained in:
Alysia Broddrick 2023-06-13 08:24:13 -07:00
parent bb6c953b31
commit 9ca860b26a
No known key found for this signature in database
GPG key ID: 03917052CD0F06B7
2 changed files with 17 additions and 7 deletions

View file

@ -478,7 +478,7 @@ class Domain(TimeStampedModel, DomainHelper):
}
print("\nCACHE AT TOP\n\n"+str(cache)+"\n\n\n")
# remove null properties (to distinguish between "a value of None" and null)
cleaned = {k: v for k, v in cache if v is not ...}
cleaned = {k: v for k, v in cache.items() if v is not ...}
print("\ncleaned is "+str(cleaned)+"\n\n")
# get contact info, if there are any
if (