'test that running task update task state as  without running task.
(no dependency check in ti_deps anymore, so also -> SUCCESS)'

@patch.object(TI, u'pool_full')
def test_run_pooling_task(self, mock_pool_full):

    mock_pool_full.return_value = True
    dag = models.DAG(dag_id=u'test_run_pooling_task')
    task = DummyOperator(task_id=u'test_run_pooling_task_op', dag=dag, pool=u'test_run_pooling_task_pool', owner=u'airflow', start_date=datetime.datetime(2016, 2, 1, 0, 0, 0))
    ti = TI(task=task, execution_date=datetime.datetime.now())
    ti.run()
    self.assertEqual(ti.state, models.State.SUCCESS)
