def delete_node_group(self, ng_id, status_code=200, api=True):
        if api:
            return self.app.delete(
                reverse(
                    'NodeGroupHandler',
                    kwargs={'obj_id': ng_id}
                ),
                headers=self.default_headers,
                expect_errors=(status_code < 200)
            )
        else:
            ng = db().query(NodeGroup).get(ng_id)
            db().delete(ng)
            db().flush()
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py/EnvironmentManager.delete_node_group/operator `!=` -> `<`