

def test_provision_resp_sub_task_no_error_notification(self):
    sub_task = self._prepare_sub_task(consts.TASK_NAMES.provision)
    kwargs = self._create_resp_kwargs(sub_task.uuid, consts.TASK_STATUSES.error, 20, consts.TASK_STATUSES.error, 50)
    self.receiver.provision_resp(**kwargs)
    notifications_number = self.db.query(Notification).filter_by(cluster_id=kwargs.cluster_id).count()
    self.assertEqual(0, notifications_number)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_rpc_consumer.py TestConsumer.test_provision_resp_sub_task_no_error_notification/VarMisuse@75/110 `sub_task`->`kwargs`