def test_pep517_build_wheel(temporary_directory, project_source_root): build(source_dir=str(project_source_root), dist="wheel", dest=str(temporary_directory)) distributions = list( temporary_directory.glob("poetry_core-*-none-any.whl")) assert len(distributions) == 1
def test_pep517_build_sdist(temporary_directory, project_source_root): build(source_dir=str(project_source_root), dist="sdist", dest=str(temporary_directory)) distributions = list(temporary_directory.glob("poetry-core-*.tar.gz")) assert len(distributions) == 1