def test_index(self):
    expected_result = 'Hello Flask Restful Example!'
    response = self.client.get('/')
    assert (response.status_code == 200)
    assert (expected_result == response.json)
def test_index(self):
    expected_result = 'Hello Flask Restful Example!'
    response = self.client.get('/')
    assert (response.status_code == 200)
    assert (expected_result == response.json)