def test_bash_operator(self): t = operators.BashOperator(task_id='time_sensor_check', bash_command="echo success", dag=self.dag) t.run(start_date=DEFAULT_DATE, end_date=DEFAULT_DATE, force=True)
def test_dryrun(self): t = operators.BashOperator(task_id='time_sensor_check', bash_command="echo success", dag=self.dag) t.dry_run()