Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
cfb0d71a
Commit
cfb0d71a
authored
Feb 04, 2018
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feed the hobgoblins (delint).
parent
317a6ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
setuptools/tests/test_virtualenv.py
setuptools/tests/test_virtualenv.py
+4
-0
No files found.
setuptools/tests/test_virtualenv.py
View file @
cfb0d71a
...
...
@@ -26,6 +26,7 @@ def bare_virtualenv():
SOURCE_DIR
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'../..'
)
def
test_clean_env_install
(
bare_virtualenv
):
"""
Check setuptools can be installed in a clean environment.
...
...
@@ -35,6 +36,7 @@ def test_clean_env_install(bare_virtualenv):
'python setup.py install'
,
)).
format
(
source
=
SOURCE_DIR
))
def
test_pip_upgrade_from_source
(
virtualenv
):
"""
Check pip can upgrade setuptools from source.
...
...
@@ -56,6 +58,7 @@ def test_pip_upgrade_from_source(virtualenv):
# And finally try to upgrade from source.
virtualenv
.
run
(
'pip install --no-cache-dir --upgrade '
+
sdist
)
def
test_test_command_install_requirements
(
bare_virtualenv
,
tmpdir
):
"""
Check the test command will install all required dependencies.
...
...
@@ -64,6 +67,7 @@ def test_test_command_install_requirements(bare_virtualenv, tmpdir):
'cd {source}'
,
'python setup.py develop'
,
)).
format
(
source
=
SOURCE_DIR
))
def
sdist
(
distname
,
version
):
dist_path
=
tmpdir
.
join
(
'%s-%s.tar.gz'
%
(
distname
,
version
))
make_nspkg_sdist
(
str
(
dist_path
),
distname
,
version
)
...
...
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