'Verify boolean tests for response codes correctly.'

def test_boolean_raises_exception(self):

    response = requests.Response()
    response.status_code = 512
    response.raw = io.BytesIO()
    with pytest.raises(exceptions.GitHubError):
        self.instance._boolean(response=response, true_code=200, false_code=204)
