This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push: new e97d501 Fix set task instance form test (#14501) e97d501 is described below commit e97d501a0bcfc7e808171fec8c44bb7a4292a9f9 Author: Vladimir Mikhaylov <38596482+vemikhay...@users.noreply.github.com> AuthorDate: Tue Mar 9 10:05:03 2021 +0300 Fix set task instance form test (#14501) * Fix set task instance form test * Return include_future non-string test --- tests/api_connexion/schemas/test_task_instance_schema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api_connexion/schemas/test_task_instance_schema.py b/tests/api_connexion/schemas/test_task_instance_schema.py index 9720ac0..c0559c4 100644 --- a/tests/api_connexion/schemas/test_task_instance_schema.py +++ b/tests/api_connexion/schemas/test_task_instance_schema.py @@ -199,7 +199,7 @@ class TestSetTaskInstanceStateFormSchema(unittest.TestCase): @parameterized.expand( [ ({"task_id": None},), - ({"include_future": "True"},), + ({"include_future": "foo"},), ({"execution_date": "NOW"},), ({"new_state": "INVALID_STATE"},), ] @@ -208,4 +208,4 @@ class TestSetTaskInstanceStateFormSchema(unittest.TestCase): self.current_input.update(override_data) with pytest.raises(ValidationError): - clear_task_instance_form.load(self.current_input) + set_task_instance_state_form.load(self.current_input)