mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +02:00
Sandbox unit test fix attempt
This commit is contained in:
parent
5384bb1fe7
commit
b1f2b4a663
1 changed files with 5 additions and 0 deletions
|
@ -649,6 +649,11 @@ class DomainSessionVariableTest(TestCase):
|
||||||
self.admin = DomainAdmin(Domain, None)
|
self.admin = DomainAdmin(Domain, None)
|
||||||
self.client = Client(HTTP_HOST="localhost:8080")
|
self.client = Client(HTTP_HOST="localhost:8080")
|
||||||
|
|
||||||
|
# Test data seems to linger in the sandbox for tests.
|
||||||
|
# We delete this here for these tests.
|
||||||
|
DomainInformation.objects.all().delete()
|
||||||
|
Domain.objects.all().delete()
|
||||||
|
|
||||||
def test_session_vars_set_correctly(self):
|
def test_session_vars_set_correctly(self):
|
||||||
"""Checks if session variables are being set correctly"""
|
"""Checks if session variables are being set correctly"""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue