def clean_semver(cls, version_spec):
        return re.sub(r"([<>=~])\s+?v?", "\\1", version_spec, re.IGNORECASE)
def step_impl(context, state, code):
    context.response = context.request.send()
    context.response.status_code.should.equal(int(code))