mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
domain mock added with mock object
This commit is contained in:
parent
bb6c953b31
commit
9ca860b26a
2 changed files with 17 additions and 7 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue