Skip to content

Commit 30bf6b6

Browse files
committed
Fix failing test for flit init
1 parent 1ddd569 commit 30bf6b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_init.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def test_init():
113113
data = tomllib.load(f)
114114
assert data['project']['authors'][0]['email'] == "test@example.com"
115115
license = Path(td) / 'LICENSE'
116-
assert data['project']['license']['file'] == 'LICENSE'
116+
assert data['project']['license'] == 'MIT'
117+
assert data['project']['license-files'] == ['LICENSE']
117118
assert_isfile(license)
118119
with license.open() as f:
119120
license_text = f.read()

0 commit comments

Comments
 (0)