We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ddd569 commit 30bf6b6Copy full SHA for 30bf6b6
tests/test_init.py
@@ -113,7 +113,8 @@ def test_init():
113
data = tomllib.load(f)
114
assert data['project']['authors'][0]['email'] == "test@example.com"
115
license = Path(td) / 'LICENSE'
116
- assert data['project']['license']['file'] == 'LICENSE'
+ assert data['project']['license'] == 'MIT'
117
+ assert data['project']['license-files'] == ['LICENSE']
118
assert_isfile(license)
119
with license.open() as f:
120
license_text = f.read()
0 commit comments