import requests


def test_notifications_admin_index():
    response = requests.request("GET", "http://notifications-admin.herokuapp.com/index")
    assert response.status_code == 200
    # assert response.content == 'Hello from notifications-admin'

import requests


def test_notifications_admin_index():
    # response = requests.request("GET", "http://localhost:6012")
    response = requests.request("GET", "http://notifications-admin.herokuapp.com/")
    assert response.status_code == 200
    assert 'GOV.UK Notify' in response.content

Fix test for initial registration page flow
Fix test for initial registration page flow

  import requests
  
  
  def test_notifications_admin_index():
+     # response = requests.request("GET", "http://localhost:6012")
-     response = requests.request("GET", "http://notifications-admin.herokuapp.com/index")
+     response = requests.request("GET", "http://notifications-admin.herokuapp.com/")
      assert response.status_code == 200
-     # assert response.content == 'Hello from notifications-admin'
+     assert 'GOV.UK Notify' in response.content
  
Fix test for initial registration page flow
## Code Before:
import requests


def test_notifications_admin_index():
    response = requests.request("GET", "http://notifications-admin.herokuapp.com/index")
    assert response.status_code == 200
    # assert response.content == 'Hello from notifications-admin'

## Instruction:
Fix test for initial registration page flow
## Code After:
import requests


def test_notifications_admin_index():
    # response = requests.request("GET", "http://localhost:6012")
    response = requests.request("GET", "http://notifications-admin.herokuapp.com/")
    assert response.status_code == 200
    assert 'GOV.UK Notify' in response.content
