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
c9196740
Unverified
Commit
c9196740
authored
May 08, 2022
by
David Hotham
Committed by
GitHub
May 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: make canonical names forwards compatible
parent
1c1cb921
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
5 deletions
+26
-5
tests/console/commands/test_search.py
+7
-2
tests/installation/fixtures/with-pypi-repository.test
+3
-3
tests/installation/test_installer.py
+8
-0
tests/installation/test_installer_old.py
+8
-0
No files found.
tests/console/commands/test_search.py
View file @
c9196740
...
...
@@ -52,7 +52,7 @@ paginate-sqlalchemy (0.3.0)
sqlalchemy-audit (0.1.0)
sqlalchemy-audit provides an easy way to set up revision tracking for your data.
transmogrify
.
sqlalchemy (1.0.2)
transmogrify
-
sqlalchemy (1.0.2)
Feed data from SQLAlchemy into a transmogrifier pipeline
sqlalchemy-schemadisplay (1.3)
...
...
@@ -96,4 +96,9 @@ sqlalchemy-sqlany (1.0.3)
SAP Sybase SQL Anywhere dialect for SQLAlchemy
"""
assert
tester
.
io
.
fetch_output
()
==
expected
# TODO remove this when https://github.com/python-poetry/poetry-core/pull/328
# reaches a published version of poetry-core.
output
=
tester
.
io
.
fetch_output
()
output
=
output
.
replace
(
"transmogrify.sqlalchemy"
,
"transmogrify-sqlalchemy"
)
assert
output
==
expected
tests/installation/fixtures/with-pypi-repository.test
View file @
c9196740
...
...
@@ -7,9 +7,9 @@ optional = false
python
-
versions
=
"*"
[
package
.
extras
]
dev
=
[
"coverage"
,
"hypothesis"
,
"pympler"
,
"pytest"
,
"six"
,
"zope
.interface"
,
"sphinx"
,
"zope.
interface"
]
docs
=
[
"sphinx"
,
"zope
.
interface"
]
tests
=
[
"coverage"
,
"hypothesis"
,
"pympler"
,
"pytest"
,
"six"
,
"zope
.
interface"
]
dev
=
[
"coverage"
,
"hypothesis"
,
"pympler"
,
"pytest"
,
"six"
,
"zope
-interface"
,
"sphinx"
,
"zope-
interface"
]
docs
=
[
"sphinx"
,
"zope
-
interface"
]
tests
=
[
"coverage"
,
"hypothesis"
,
"pympler"
,
"pytest"
,
"six"
,
"zope
-
interface"
]
[[
package
]]
name
=
"colorama"
...
...
tests/installation/test_installer.py
View file @
c9196740
...
...
@@ -1168,6 +1168,14 @@ def test_installer_with_pypi_repository(
installer
.
run
()
expected
=
fixture
(
"with-pypi-repository"
)
# TODO remove this when https://github.com/python-poetry/poetry-core/pull/328
# reaches a published version of poetry-core.
extras
=
locker
.
written_data
[
"package"
][
0
][
"extras"
]
for
key
,
values
in
list
(
extras
.
items
()):
extras
[
key
]
=
[
value
.
replace
(
"zope.interface"
,
"zope-interface"
)
for
value
in
values
]
assert
not
DeepDiff
(
expected
,
locker
.
written_data
,
ignore_order
=
True
)
...
...
tests/installation/test_installer_old.py
View file @
c9196740
...
...
@@ -832,6 +832,14 @@ def test_installer_with_pypi_repository(
installer
.
run
()
expected
=
fixture
(
"with-pypi-repository"
)
# TODO remove this when https://github.com/python-poetry/poetry-core/pull/328
# reaches a published version of poetry-core.
extras
=
locker
.
written_data
[
"package"
][
0
][
"extras"
]
for
key
,
values
in
list
(
extras
.
items
()):
extras
[
key
]
=
[
value
.
replace
(
"zope.interface"
,
"zope-interface"
)
for
value
in
values
]
assert
not
DeepDiff
(
expected
,
locker
.
written_data
,
ignore_order
=
True
)
...
...
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