"""Generic integration tests.""" import pytest import requests from royalties.tests.integration.consts import api @pytest.mark.jira('ACC-1886') def test_get_hello(): """Get Hello Endpoint.""" response = requests.get(api.HEALTH_CHECK) assert response.status_code == 200, '\nReason: {}\nURL: {}'.format( response.reason, response.url ) response_body = response.json() assert 'status' in response_body assert 'ok' in response_body['status']