Commit 97ddc77e authored by xoviat's avatar xoviat

tests: implement prepare_metadata

parent ddd5d0a9
......@@ -103,4 +103,13 @@ def test_build_sdist(build_backend):
os.makedirs(dist_dir)
sdist_name = b.build_sdist(dist_dir)
assert os.path.isfile(os.path.join(dist_dir, sdist_name))
\ No newline at end of file
assert os.path.isfile(os.path.join(dist_dir, sdist_name))
def test_prepare_metadata_for_build_wheel(build_backend):
with build_backend as b:
dist_dir = os.path.abspath('pip-dist-info')
os.makedirs(dist_dir)
b.prepare_metadata_for_build_wheel()
assert os.path.isfile(os.path.join(dist_dir, 'METADATA'))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment