Skip to content

Commit 00bce75

Browse files
committed
Add test for keyword splitting.
1 parent c87838e commit 00bce75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,14 @@ def test_more_complex_deps_requires_text(self):
249249
def test_as_json(self):
250250
md = metadata('distinfo-pkg').json
251251
assert 'name' in md
252+
assert md['keywords'] == ['sample', 'package']
252253
desc = md['description']
253254
assert desc.startswith('Once upon a time\nThere was')
254255

255256
def test_as_json_egg_info(self):
256257
md = metadata('egginfo-pkg').json
257258
assert 'name' in md
259+
assert md['keywords'] == ['sample', 'package']
258260
desc = md['description']
259261
assert desc.startswith('Once upon a time\nThere was')
260262

0 commit comments

Comments
 (0)