def create_default_groups(self):
        for group in self.groups:
            group = group.replace(" ", "_").lower()
            self[group] = NamedRequirements(group)
def step_impl(context, state, code):
    context.response = context.request.send()
    context.response.status_code.should.equal(int(code))