Skip to content

Commit

Permalink
Use imperative mood in test_upload (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Jun 9, 2020
1 parent 1a28b79 commit 424a584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def upload_settings(make_settings, stub_repository):


def test_successs_prints_release_urls(upload_settings, stub_repository, capsys):
"""Prints PyPI release URLS for each uploaded package."""
"""Print PyPI release URLS for each uploaded package."""
stub_repository.release_urls = lambda packages: {RELEASE_URL, NEW_RELEASE_URL}

result = upload.upload(
Expand All @@ -73,7 +73,7 @@ def test_successs_prints_release_urls(upload_settings, stub_repository, capsys):


def test_success_with_pre_signed_distribution(upload_settings, stub_repository):
"""Adds GPG signature provided by user to uploaded package."""
"""Add GPG signature provided by user to uploaded package."""
# Upload a pre-signed distribution
result = upload.upload(
upload_settings, [helpers.WHEEL_FIXTURE, helpers.WHEEL_FIXTURE + ".asc"]
Expand All @@ -89,7 +89,7 @@ def test_success_with_pre_signed_distribution(upload_settings, stub_repository):


def test_success_when_gpg_is_run(upload_settings, stub_repository, monkeypatch):
"""Adds GPG signature generated by gpg command to uploaded package."""
"""Add GPG signature generated by gpg command to uploaded package."""
# Indicate that upload() should run_gpg() to generate the signature, which
# we'll stub out to use WHEEL_FIXTURE + ".asc"
upload_settings.sign = True
Expand Down

0 comments on commit 424a584

Please sign in to comment.