Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_download_file() requires internet connection #53

Merged
merged 1 commit into from Nov 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/test_utils.py
Expand Up @@ -9,6 +9,7 @@
get_random_venv_name, get_requirements_file, is_setup_managed,
normalize_package_name, parse_setup, remove_path, temp_chdir, temp_move_path
)
from .utils import requires_internet


def test_get_random_venv_name():
Expand Down Expand Up @@ -76,6 +77,7 @@ def test_temp_chdir():
assert not os.path.exists(d)


@requires_internet
def test_download_file():
with temp_chdir() as d:
fname = os.path.join(d, 'file.txt')
Expand Down