def test_dryrun(self): op = BashOperator(task_id='test_dryrun', bash_command="echo success", dag=self.dag) op.dry_run()