'Tests that the --delay argument is passed correctly to the BackfillJob'

def test_cli_receives_delay_arg(self):

    dag_id = u'example_bash_operator'
    run_date = DEFAULT_DATE
    args = [u'backfill', dag_id, u'-s', run_date.isoformat(), u'--delay_on_limit', u'0.5']
    parsed_args = self.parser.parse_args(args)
    self.assertEqual(0.5, parsed_args.delay_on_limit)
