mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 21:16:28 +02:00
lint
This commit is contained in:
parent
cfff3322bc
commit
c6f50f0af2
2 changed files with 6 additions and 5 deletions
|
@ -2788,7 +2788,8 @@ class DomainRequestTests(TestWithUser, WebTest):
|
|||
|
||||
def test_non_creator_access(self):
|
||||
"""Tests that a user cannot edit a domain request they didn't create"""
|
||||
other_user = User.objects.create_user(username="other_user", password="password")
|
||||
p = "password"
|
||||
other_user = User.objects.create_user(username="other_user", password=p)
|
||||
domain_request = completed_domain_request(user=other_user)
|
||||
|
||||
edit_page = self.app.get(reverse("edit-domain-request", kwargs={"id": domain_request.pk}), expect_errors=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue