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
1d71955b
Commit
1d71955b
authored
May 24, 2022
by
Arun Babu Neelicattu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: workaround tomlkit regression on windows
parent
231d613f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/console/commands/test_init.py
+2
-0
No files found.
tests/console/commands/test_init.py
View file @
1d71955b
...
@@ -788,6 +788,7 @@ def test_add_package_with_extras_and_whitespace(tester: CommandTester):
...
@@ -788,6 +788,7 @@ def test_add_package_with_extras_and_whitespace(tester: CommandTester):
assert
"sqlite"
in
result
[
0
][
"extras"
]
assert
"sqlite"
in
result
[
0
][
"extras"
]
@pytest.mark.xfail
(
sys
.
platform
==
"win32"
,
reason
=
"regression in tomlkit"
)
def
test_init_existing_pyproject_simple
(
def
test_init_existing_pyproject_simple
(
tester
:
CommandTester
,
tester
:
CommandTester
,
source_dir
:
Path
,
source_dir
:
Path
,
...
@@ -804,6 +805,7 @@ line-length = 88
...
@@ -804,6 +805,7 @@ line-length = 88
assert
f
"{existing_section}
\n
{init_basic_toml}"
in
pyproject_file
.
read_text
()
assert
f
"{existing_section}
\n
{init_basic_toml}"
in
pyproject_file
.
read_text
()
@pytest.mark.xfail
(
sys
.
platform
==
"win32"
,
reason
=
"regression in tomlkit"
)
def
test_init_non_interactive_existing_pyproject_add_dependency
(
def
test_init_non_interactive_existing_pyproject_add_dependency
(
tester
:
CommandTester
,
tester
:
CommandTester
,
source_dir
:
Path
,
source_dir
:
Path
,
...
...
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