mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-04 18:32:33 -05:00
Removed intial app test, to be replaced by test of the real endpoints
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
def test_index_returns_200(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/index')
|
||||
assert response.status_code == 200
|
||||
assert response.data.decode('utf-8') == 'Hello from notifications-admin'
|
||||
|
||||
|
||||
def test_helloworld_returns_200(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/helloworld')
|
||||
assert response.status_code == 200
|
||||
assert 'Hello world!' in response.data.decode('utf-8')
|
||||
Reference in New Issue
Block a user