Commit 0fb8d928 by Kristoffer Bakkejord

add test to reproduce sdispater/poetry#756

parent ab81ff02
[tool.poetry]
name = "localversionlabel"
version = "0.1-beta.1+gitbranch-buildno-1"
description = "Some description."
authors = [
"Sébastien Eustace <sebastien@eustace.io>"
]
license = "MIT"
readme = "README.rst"
homepage = "https://poetry.eustace.io/"
...@@ -61,6 +61,19 @@ def test_wheel_prerelease(): ...@@ -61,6 +61,19 @@ def test_wheel_prerelease():
assert whl.exists() assert whl.exists()
def test_wheel_localversionlabel():
module_path = fixtures_dir / "localversionlabel"
WheelBuilder.make(Poetry.create(str(module_path)), NullEnv(), NullIO())
whl = (
module_path
/ "dist"
/ "localversionlabel-0.1b1+gitbranch.buildno.1-py2.py3-none-any.whl"
)
assert whl.exists()
def test_wheel_package_src(): def test_wheel_package_src():
module_path = fixtures_dir / "source_package" module_path = fixtures_dir / "source_package"
WheelBuilder.make(Poetry.create(str(module_path)), NullEnv(), NullIO()) WheelBuilder.make(Poetry.create(str(module_path)), NullEnv(), NullIO())
......
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