|
14 | 14 |
|
15 | 15 | def test_private_key_with_wrong_password(testing_environment: TestingEnvironment) -> None: |
16 | 16 | """Test encrypted private key with wrong password failure""" |
17 | | - with pytest.raises(AuthenticationException, match="Authentication failed."): |
| 17 | + with pytest.raises(AuthenticationException, match="Authentication failed"): |
18 | 18 | ListFiles( |
19 | 19 | hostname=testing_environment.hostname, |
20 | 20 | port=testing_environment.port, |
@@ -83,7 +83,7 @@ def test_plugin_wrong_hostname(testing_environment: TestingEnvironment) -> None: |
83 | 83 |
|
84 | 84 | def test_plugin_wrong_username(testing_environment: TestingEnvironment) -> None: |
85 | 85 | """Test plugin execution with an incorrect port""" |
86 | | - with pytest.raises(AuthenticationException, match="Authentication failed."): |
| 86 | + with pytest.raises(AuthenticationException, match="Authentication failed"): |
87 | 87 | ListFiles( |
88 | 88 | hostname=testing_environment.hostname, |
89 | 89 | port=testing_environment.port, |
@@ -134,7 +134,7 @@ def test_plugin_wrong_private_key(testing_environment: TestingEnvironment) -> No |
134 | 134 |
|
135 | 135 | def test_plugin_wrong_password(testing_environment: TestingEnvironment) -> None: |
136 | 136 | """Test plugin execution with an incorrect private key""" |
137 | | - with pytest.raises(AuthenticationException, match="Authentication failed."): |
| 137 | + with pytest.raises(AuthenticationException, match="Authentication failed"): |
138 | 138 | ListFiles( |
139 | 139 | hostname=testing_environment.hostname, |
140 | 140 | port=testing_environment.port, |
|
0 commit comments