mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 14:36:32 +02:00
Fix tests for unsuccessful if less than 2 nameservers, successful if betweeen 2 and 13 nameservers, and unsuccessful if more than 13 nameservers
This commit is contained in:
parent
803a469ba0
commit
c747be074c
2 changed files with 13 additions and 138 deletions
|
@ -349,7 +349,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
try:
|
||||
print("COUNT IS ")
|
||||
print(count)
|
||||
if len(count) >= 2 or len(count) <= 13:
|
||||
if count >= 2 and count <= 13:
|
||||
self.ready()
|
||||
self.save()
|
||||
except Exception as err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue