mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-23 17:51:03 +02:00
minor fixes to tests
This commit is contained in:
parent
2a676260c6
commit
d4c47cc365
2 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ class TestURLAuth(TestCase):
|
|||
raise AssertionError(
|
||||
f"GET {url} returned HTTP {code}, but should redirect to login or deny access",
|
||||
)
|
||||
|
||||
|
||||
def assertURLIsNotProtectedByAuth(self, url):
|
||||
"""
|
||||
Make a GET request to the given URL, and ensure that it returns 200.
|
||||
|
|
|
@ -23,7 +23,7 @@ class TestViews(TestCase):
|
|||
self.client = Client()
|
||||
|
||||
def test_health_check_endpoint(self):
|
||||
response = self.client.get("/health/")
|
||||
response = self.client.get("/health")
|
||||
self.assertContains(response, "OK", status_code=200)
|
||||
|
||||
def test_home_page(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue