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
8d54665a
Unverified
Commit
8d54665a
authored
Jul 24, 2020
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests following the upgrade of poetry-core
parent
5484122c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
.github/workflows/main.yml
+1
-1
tests/masonry/builders/test_editable_builder.py
+1
-0
tests/test_factory.py
+1
-0
tests/utils/test_env.py
+2
-2
No files found.
.github/workflows/main.yml
View file @
8d54665a
...
...
@@ -77,4 +77,4 @@ jobs:
-
name
:
Run pytest
shell
:
bash
run
:
poetry run pytest -v tests
run
:
poetry run pyt
hon -m pyt
est -v tests
tests/masonry/builders/test_editable_builder.py
View file @
8d54665a
...
...
@@ -105,6 +105,7 @@ Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Project-URL: Documentation, https://python-poetry.org/docs
...
...
tests/test_factory.py
View file @
8d54665a
...
...
@@ -107,6 +107,7 @@ def test_create_poetry():
"Programming Language :: Python :: 3.6"
,
"Programming Language :: Python :: 3.7"
,
"Programming Language :: Python :: 3.8"
,
"Programming Language :: Python :: 3.9"
,
"Topic :: Software Development :: Build Tools"
,
"Topic :: Software Development :: Libraries :: Python Modules"
,
]
...
...
tests/utils/test_env.py
View file @
8d54665a
...
...
@@ -639,7 +639,7 @@ def test_create_venv_tries_to_find_a_compatible_python_executable_using_specific
mocker
.
patch
(
"sys.version_info"
,
(
2
,
7
,
16
))
mocker
.
patch
(
"poetry.utils._compat.subprocess.check_output"
,
side_effect
=
[
"3.5.3"
,
"3.
8
.0"
]
"poetry.utils._compat.subprocess.check_output"
,
side_effect
=
[
"3.5.3"
,
"3.
9
.0"
]
)
m
=
mocker
.
patch
(
"poetry.utils.env.EnvManager.build_venv"
,
side_effect
=
lambda
*
args
,
**
kwargs
:
""
...
...
@@ -648,7 +648,7 @@ def test_create_venv_tries_to_find_a_compatible_python_executable_using_specific
manager
.
create_venv
(
NullIO
())
m
.
assert_called_with
(
Path
(
"/foo/virtualenvs/{}-py3.
8"
.
format
(
venv_name
)),
executable
=
"python3.8
"
Path
(
"/foo/virtualenvs/{}-py3.
9"
.
format
(
venv_name
)),
executable
=
"python3.9
"
)
...
...
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