Skip to content

Commit

Permalink
Revert "Merge branch 'spdx:main' into main"
Browse files Browse the repository at this point in the history
This reverts commit 9b1f727, reversing
changes made to a7b3b34.
  • Loading branch information
BanulaKumarage committed Mar 29, 2023
1 parent 9b1f727 commit 7e0e291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, *args, **kwargs):
else:
self.email = ""
super(LicenseRequestForm, self).__init__(*args,**kwargs)
self.fields["userEmail"] = forms.EmailField(label='Email', initial=self.email, max_length=35, required=False)
self.fields["userEmail"] = forms.EmailField(label='Email', initial=self.email, required=False)

licenseAuthorName = forms.CharField(label="License Author name", max_length=100, required=False)
fullname = forms.CharField(label="Fullname", max_length=70)
Expand All @@ -98,7 +98,7 @@ def __init__(self, *args, **kwargs):
self.fields['license_list_url'].required = False
self.fields['github_repo_url'].required = False
self.fields['organisation'].required = False
self.fields["userEmail"] = forms.EmailField(label='Email', initial=self.email, max_length=35, required=False)
self.fields["userEmail"] = forms.EmailField(label='Email', initial=self.email, required=False)

organisation = forms.ModelChoiceField(
required=False,
Expand Down
1 change: 0 additions & 1 deletion src/app/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,6 @@ def tearDown(self):

@skipIf(not getAccessToken() and not getGithubUserId() and not getGithubUserName(), "You need to set gihub parameters in the secret.py file for this test to be executed properly.")
def test_promote_license_namespace_feature(self):
"""Github access token,id and username should be added in .env to execute the test properly"""
"""Check if the license namespace is shifted to archive namespace when archive button is pressed"""
driver = self.selenium
driver.get(self.live_server_url+'/app/license_namespace_requests/')
Expand Down

0 comments on commit 7e0e291

Please sign in to comment.