chore: reformat with black

This commit is contained in:
Sammy 2023-09-26 11:39:46 +02:00
parent cf88db76e3
commit 249601e185
No known key found for this signature in database
GPG key ID: C99355AC01BC7575
2 changed files with 6 additions and 6 deletions

View file

@ -91,7 +91,7 @@ class TestAnsibleModuleMatrixNotification:
"msg_plain": "**hello world**", "msg_plain": "**hello world**",
"msg_html": "<b>hello world</b>", "msg_html": "<b>hello world</b>",
}, },
check_mode=True check_mode=True,
) )
with pytest.raises(AnsibleExitJson) as result: with pytest.raises(AnsibleExitJson) as result:
matrix_notification.main() matrix_notification.main()

View file

@ -52,7 +52,7 @@ class TestAnsibleModuleMatrixTokenLogin:
"user_id": "myuser", "user_id": "myuser",
"key": "static-psk", "key": "static-psk",
}, },
check_mode=True check_mode=True,
) )
with pytest.raises(AnsibleExitJson) as result: with pytest.raises(AnsibleExitJson) as result:
matrix_token_login.main() matrix_token_login.main()
@ -70,9 +70,9 @@ class TestAnsibleModuleMatrixTokenLogin:
"hs_url": "matrix.example.tld", "hs_url": "matrix.example.tld",
"user_id": "myuser", "user_id": "myuser",
"key": "static-psk", "key": "static-psk",
"admin": True "admin": True,
}, },
check_mode=True check_mode=True,
) )
with pytest.raises(AnsibleExitJson) as result: with pytest.raises(AnsibleExitJson) as result:
matrix_token_login.main() matrix_token_login.main()
@ -89,9 +89,9 @@ class TestAnsibleModuleMatrixTokenLogin:
"hs_url": "matrix.example.tld", "hs_url": "matrix.example.tld",
"user_id": "myuser", "user_id": "myuser",
"key": "static-psk", "key": "static-psk",
"admin": False "admin": False,
}, },
check_mode=True check_mode=True,
) )
with pytest.raises(AnsibleExitJson) as result: with pytest.raises(AnsibleExitJson) as result:
matrix_token_login.main() matrix_token_login.main()