Skip to content

Commit 04f3ea8

Browse files
committed
Fix tests, again :)
1 parent 655f41d commit 04f3ea8

File tree

4 files changed

+195
-119
lines changed

4 files changed

+195
-119
lines changed

tests/unit/legacy/api/test_draft.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
import pretend
14-
15-
from pyramid.httpexceptions import HTTPMovedPermanently
16-
1713
from warehouse.legacy.api import draft
1814

1915
from ....common.db.accounts import UserFactory

tests/unit/manage/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2666,7 +2666,7 @@ def test_publish_project_release(self, monkeypatch):
26662666
tag="project:release:publish",
26672667
ip_address=request.remote_addr,
26682668
additional={
2669-
"submitted_by": request.user.username,
2669+
"published_by": request.user.username,
26702670
"canonical_version": release.canonical_version,
26712671
},
26722672
)

0 commit comments

Comments
 (0)