Skip to content

Commit f665cc4

Browse files
[Fixes #13009] fix tests
1 parent f095641 commit f665cc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

geonode/services/forms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ def clean(self):
9999

100100
def clean_username(self):
101101
# the form return empty string, we want None if is not provided
102-
return self.cleaned_data['username'] or None
102+
return self.cleaned_data["username"] or None
103103

104104
def clean_password(self):
105105
# the form return empty string, we want None if is not provided
106-
return self.cleaned_data['password'] or None
106+
return self.cleaned_data["password"] or None
107107

108108

109109
class ServiceForm(forms.ModelForm):

0 commit comments

Comments
 (0)