ambika-garg commented on code in PR #45779:
URL: https://github.com/apache/airflow/pull/45779#discussion_r1942224819
##########
tests/cli/commands/remote_commands/test_dag_command.py:
##########
@@ -334,12 +334,14 @@ def test_cli_list_dags_invalid_cols(self):
assert "Ignoring the following invalid columns: ['invalid_col']" in out
@conf_vars({("core", "load_examples"): "false"})
- def test_cli_list_dags_prints_import_errors(self):
- dag_path = os.path.join(TEST_DAGS_FOLDER, "test_invalid_cron.py")
- args = self.parser.parse_args(["dags", "list", "--output", "yaml",
"--subdir", dag_path])
- with contextlib.redirect_stderr(StringIO()) as temp_stderr:
- dag_command.dag_list_dags(args)
- out = temp_stderr.getvalue()
+ def test_cli_list_dags_prints_import_errors(self,
configure_testing_dag_bundle):
+ path_to_parse = TEST_DAGS_FOLDER / "test_invalid_cron.py"
+
+ args = self.parser.parse_args(["dags", "list", "--output", "yaml",
"--bundle-name", "testing"])
Review Comment:
Hey @jedcunningham, how do we configure testing bundle?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]