Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
The Universal Packaging Tool
upt
Commits
5f182d8a
Commit
5f182d8a
authored
Sep 24, 2018
by
Cyril Roelandt
Browse files
upt/licenses.py: improve test coverage.
parent
c3cdf243
Changes
1
Hide whitespace changes
Inline
Side-by-side
upt/tests/test_licenses.py
View file @
5f182d8a
...
...
@@ -14,6 +14,7 @@ class TestLicenses(unittest.TestCase):
license
=
TestLicense
()
self
.
assertFalse
(
license
.
is_osi_approved
())
self
.
assertFalse
(
license
.
is_gpl_compatible
())
self
.
assertFalse
(
license
.
is_dfsg_compatible
())
def
test_osi_approved_license
(
self
):
class
TestLicense
(
licenses
.
OSIApprovedLicense
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment