mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 07:26:34 +02:00
lint and fix existing unit tests
This commit is contained in:
parent
d44bcadafb
commit
934d06dfb5
3 changed files with 1 additions and 6 deletions
|
@ -600,7 +600,7 @@ class RequestingEntity(DomainRequestWizard):
|
|||
sub_organization = cleaned_data.get("sub_organization")
|
||||
requested_suborganization = cleaned_data.get("requested_suborganization")
|
||||
|
||||
# If no suborganization presently exists but the user filled out
|
||||
# If no suborganization presently exists but the user filled out
|
||||
# org information then create a suborg automatically.
|
||||
if is_suborganization and (sub_organization or requested_suborganization):
|
||||
# Cleanup the organization name field, as this isn't for suborganizations.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue