This is an automated email from the ASF dual-hosted git repository. taragolis pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new 1166d691fc Fix TestSsmHooks which is not compatible with `moto==4.1.1` (#29118) 1166d691fc is described below commit 1166d691fc2b87db77a14dc12daca3c7af385183 Author: Andrey Anshin <andrey.ans...@taragol.is> AuthorDate: Tue Jan 24 12:54:10 2023 +0400 Fix TestSsmHooks which is not compatible with `moto==4.1.1` (#29118) --- tests/providers/amazon/aws/hooks/test_ssm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/providers/amazon/aws/hooks/test_ssm.py b/tests/providers/amazon/aws/hooks/test_ssm.py index ddc957dc97..efc6a27994 100644 --- a/tests/providers/amazon/aws/hooks/test_ssm.py +++ b/tests/providers/amazon/aws/hooks/test_ssm.py @@ -38,7 +38,9 @@ class TestSsmHooks: def setup_tests(self): with mock_ssm(): self.hook = SsmHook(region_name=REGION) - self.hook.conn.put_parameter(Name=EXISTING_PARAM_NAME, Value=PARAM_VALUE, Overwrite=True) + self.hook.conn.put_parameter( + Type="String", Name=EXISTING_PARAM_NAME, Value=PARAM_VALUE, Overwrite=True + ) yield def test_hook(self) -> None: