Skip to content

Commit 0f4a2b2

Browse files
committed
tests
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent dedf64d commit 0f4a2b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/test_utils_pep621.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@ddt()
3131
class TestUtilsPEP621(TestCase):
3232

33-
def test_license_dict_text(self) -> None:
33+
def test_project2licenses_license_dict_text(self) -> None:
3434
project = {
3535
'name': 'testpkg',
3636
'license': {'text': 'This is the license text.'},
@@ -46,7 +46,7 @@ def test_license_dict_text(self) -> None:
4646
self.assertEqual(lic.text.content, 'This is the license text.')
4747
self.assertEqual(lic.acknowledgement, LicenseAcknowledgement.DECLARED)
4848

49-
def test_license_dict_file(self) -> None:
49+
def test_project2licenses_license_dict_file(self) -> None:
5050
project = {
5151
'name': 'testpkg',
5252
'license': {'file': 'license.txt'},
@@ -68,7 +68,7 @@ def test_license_dict_file(self) -> None:
6868
('string', 'MIT'),
6969
('list', ['MIT', 'Apache-2.0'])
7070
)
71-
def test_license_non_dict(self, license: any) -> None:
71+
def test_project2licenses_license_non_dict(self, license: any) -> None:
7272
project = {
7373
'name': 'testpkg',
7474
'license': license,

0 commit comments

Comments
 (0)