kaxil commented on issue #7639: [AIRFLOW-7000] Allow passing in env var JSON dict in task_test URL: https://github.com/apache/airflow/pull/7639#issuecomment-600002092 :( Travis is sad: ``` ___________________ TestCliTasks.test_cli_test_with_env_vars ___________________ self = <tests.cli.commands.test_task_command.TestCliTasks testMethod=test_cli_test_with_env_vars> def test_cli_test_with_env_vars(self): with redirect_stdout(io.StringIO()) as stdout: task_command.task_test(self.parser.parse_args([ 'tasks', 'test', 'example_passing_params_via_test_command', 'env_var_test_task', '--env-vars', '{"foo":"bar"}', DEFAULT_DATE.isoformat()])) > self.assertIn('foo=bar', stdout.getvalue()) E AssertionError: 'foo=bar' not found in "[\x1b[34m2020-03-17 05:28:39,212\x1b[0m] {\x1b[34mtest_task_view_type_check.py:\x1b[0m48} INFO\x1b[0m - class_instance type: \x1b[1m<class 'unusual_prefix_5d280a9b385120fec3c40cfe5be04e2f41b6b5e8_test_task_view_type_check.CallableClass'>\x1b[0m\x1b[0m\n" tests/cli/commands/test_task_command.py:127: AssertionError ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
