mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-14 16:47:02 +02:00
Update test_admin.py
This commit is contained in:
parent
ea1e8aa510
commit
4aa816cfdf
1 changed files with 2 additions and 0 deletions
|
@ -2449,6 +2449,8 @@ class TestDomainRequestAdmin(MockEppLib):
|
|||
request = self.factory.post("/admin/registrar/domainrequest/{}/change/".format(domain_request.pk))
|
||||
request.user = self.superuser
|
||||
|
||||
request.session = {}
|
||||
|
||||
# Define a custom implementation for is_active
|
||||
def custom_is_active(self):
|
||||
return domain_is_active # Override to return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue