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
aaa0da9a
Unverified
Commit
aaa0da9a
authored
Apr 09, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
parent
10db97d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
tests/installation/test_installer.py
+14
-0
No files found.
tests/installation/test_installer.py
View file @
aaa0da9a
from
__future__
import
unicode_literals
import
sys
import
pytest
import
toml
...
...
@@ -81,6 +83,18 @@ class Locker(BaseLocker):
self
.
_written_data
=
data
@pytest.fixture
(
autouse
=
True
)
def
setup
():
# Mock python version and platform to get reliable tests
original_platform
=
sys
.
platform
sys
.
platform
=
'darwin'
yield
sys
.
platform
=
original_platform
@pytest.fixture
()
def
package
():
return
get_package
(
'root'
,
'1.0'
)
...
...
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