(self)
| 256 | assert deps == expected |
| 257 | |
| 258 | def test_as_json(self): |
| 259 | md = metadata('distinfo-pkg').json |
| 260 | assert 'name' in md |
| 261 | assert md['keywords'] == ['sample', 'package'] |
| 262 | desc = md['description'] |
| 263 | assert desc.startswith('Once upon a time\nThere was') |
| 264 | assert len(md['requires_dist']) == 2 |
| 265 | |
| 266 | def test_as_json_egg_info(self): |
| 267 | md = metadata('egginfo-pkg').json |
nothing calls this directly
no test coverage detected