From 876ac7d4dfc645c44dc75b989e33cf33b41080fb Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Sat, 14 Dec 2024 14:39:46 +0100 Subject: [PATCH] WIP --- lib/python/tests/test_system_license.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 lib/python/tests/test_system_license.py diff --git a/lib/python/tests/test_system_license.py b/lib/python/tests/test_system_license.py deleted file mode 100644 index 0d2f372ec8..0000000000 --- a/lib/python/tests/test_system_license.py +++ /dev/null @@ -1,21 +0,0 @@ -import unittest - -from dbrepo.RestClient import RestClient - -from dbrepo.api.dto import License - - -class LicenseSystemTest(unittest.TestCase): - - def test_get_licenses_succeeds(self): - exp = [License(identifier='CC-BY-4.0', uri='https://creativecommons.org/licenses/by/4.0/legalcode', - description='The Creative Commons Attribution license allows re-distribution and re-use of a licensed work on the condition that the creator is appropriately credited.'), - License(identifier='CC0-1.0', uri='https://creativecommons.org/publicdomain/zero/1.0/legalcode', - description='CC0 waives copyright interest in a work you\'ve created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach.')] - # test - response = RestClient().get_licenses() - self.assertEqual(exp, response) - - -if __name__ == "__main__": - unittest.main() -- GitLab