@staticmethod
def assert_response_status_code(response, status_code):
    """Assert the response status code.

        Parameters:
        response : value
        status_code : value
        """
    if isinstance(status_code, str):
        if status_code.isdigit():
            status_code = int(status_code)
    msg = 'expected response status code to be {} but was {}'.format(
        status_code, response.status_code)
    assert response.status_code == status_code, msg
