def test_type(self):
        rset = event.ResultSet()
        with pytest.raises(NotImplementedError):
            rset.extend([])
        with pytest.raises(NotImplementedError):
            rset.extend(False)
def step_impl(context, state, code):
    context.response = context.request.send()
    context.response.status_code.should.equal(int(code))