forked from spdx/spdx-online-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit fe79e63.
- Loading branch information
1 parent
7e0e291
commit 621f499
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1146,11 +1146,10 @@ class SubmitNewLicenseViewsTestCase(TestCase): | |
def initialise(self): | ||
self.fullname = "BSD Zero Clause License" | ||
self.shortIdentifier = "0BSD" | ||
self.exampleUrl = "testUrl" | ||
self.sourceUrl = "http://landley.net/toybox/license.html" | ||
self.urls = [self.sourceUrl] | ||
self.osiApproved = "no" | ||
self.comments = "Test Comment" | ||
self.comments = "" | ||
self.notes = "" | ||
self.licenseHeader = "" | ||
self.text ='<text> <copyrightText> <p>Copyright (C) 2006 by Rob Landley <[email protected]></p> </copyrightText> <p>Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.</p> <p>THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p> </text>' | ||
|
@@ -1161,7 +1160,7 @@ def initialise(self): | |
self.data_no_author = {"fullname": self.fullname, "shortIdentifier": self.shortIdentifier, | ||
"sourceUrl": self.sourceUrl,'osiApproved': self.osiApproved, 'notes': self.notes, | ||
"licenseHeader": self.licenseHeader, "text": self.text, "userEmail": self.userEmail, | ||
"urlType": "tests", "exampleUrl":self.exampleUrl,"comments":self.comments} | ||
"urlType": "tests"} | ||
self.data = self.data_no_author.update({"licenseAuthorName": self.licenseAuthorName}) | ||
|
||
def test_submit_new_license(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters