lint and fix existing unit tests

This commit is contained in:
zandercymatics 2024-10-25 10:52:22 -06:00
parent d44bcadafb
commit 934d06dfb5
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 1 additions and 6 deletions

View file

@ -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.