File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030@ddt ()
3131class 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 ,
You can’t perform that action at this time.
0 commit comments