mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-04 00:29:12 +00:00
chore: reformat with black
This commit is contained in:
parent
cf88db76e3
commit
249601e185
2 changed files with 6 additions and 6 deletions
|
@ -91,7 +91,7 @@ class TestAnsibleModuleMatrixNotification:
|
|||
"msg_plain": "**hello world**",
|
||||
"msg_html": "<b>hello world</b>",
|
||||
},
|
||||
check_mode=True
|
||||
check_mode=True,
|
||||
)
|
||||
with pytest.raises(AnsibleExitJson) as result:
|
||||
matrix_notification.main()
|
||||
|
|
|
@ -52,7 +52,7 @@ class TestAnsibleModuleMatrixTokenLogin:
|
|||
"user_id": "myuser",
|
||||
"key": "static-psk",
|
||||
},
|
||||
check_mode=True
|
||||
check_mode=True,
|
||||
)
|
||||
with pytest.raises(AnsibleExitJson) as result:
|
||||
matrix_token_login.main()
|
||||
|
@ -70,9 +70,9 @@ class TestAnsibleModuleMatrixTokenLogin:
|
|||
"hs_url": "matrix.example.tld",
|
||||
"user_id": "myuser",
|
||||
"key": "static-psk",
|
||||
"admin": True
|
||||
"admin": True,
|
||||
},
|
||||
check_mode=True
|
||||
check_mode=True,
|
||||
)
|
||||
with pytest.raises(AnsibleExitJson) as result:
|
||||
matrix_token_login.main()
|
||||
|
@ -89,9 +89,9 @@ class TestAnsibleModuleMatrixTokenLogin:
|
|||
"hs_url": "matrix.example.tld",
|
||||
"user_id": "myuser",
|
||||
"key": "static-psk",
|
||||
"admin": False
|
||||
"admin": False,
|
||||
},
|
||||
check_mode=True
|
||||
check_mode=True,
|
||||
)
|
||||
with pytest.raises(AnsibleExitJson) as result:
|
||||
matrix_token_login.main()
|
||||
|
|
Loading…
Reference in a new issue