Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
0fb8d928
Commit
0fb8d928
authored
Mar 08, 2019
by
Kristoffer Bakkejord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add test to reproduce sdispater/poetry#756
parent
ab81ff02
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
0 deletions
+30
-0
tests/masonry/builders/fixtures/localversionlabel/README.rst
+2
-0
tests/masonry/builders/fixtures/localversionlabel/localversionlabel.py
+3
-0
tests/masonry/builders/fixtures/localversionlabel/pyproject.toml
+12
-0
tests/masonry/builders/test_wheel.py
+13
-0
No files found.
tests/masonry/builders/fixtures/localversionlabel/README.rst
0 → 100644
View file @
0fb8d928
Local version label
===================
tests/masonry/builders/fixtures/localversionlabel/localversionlabel.py
0 → 100644
View file @
0fb8d928
"""Example module"""
__version__
=
"0.1"
tests/masonry/builders/fixtures/localversionlabel/pyproject.toml
0 → 100644
View file @
0fb8d928
[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/"
tests/masonry/builders/test_wheel.py
View file @
0fb8d928
...
@@ -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
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment