Skip to content

Commit

Permalink
Fix tests, again :)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbato committed Dec 6, 2020
1 parent 655f41d commit 04f3ea8
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 119 deletions.
4 changes: 0 additions & 4 deletions tests/unit/legacy/api/test_draft.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import pretend

from pyramid.httpexceptions import HTTPMovedPermanently

from warehouse.legacy.api import draft

from ....common.db.accounts import UserFactory
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/manage/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2666,7 +2666,7 @@ def test_publish_project_release(self, monkeypatch):
tag="project:release:publish",
ip_address=request.remote_addr,
additional={
"submitted_by": request.user.username,
"published_by": request.user.username,
"canonical_version": release.canonical_version,
},
)
Expand Down
Loading

0 comments on commit 04f3ea8

Please sign in to comment.