diff options
author | James Falcon <james.falcon@canonical.com> | 2023-02-02 17:16:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 16:16:03 -0700 |
commit | e06e501e2d93254001f157fda29dadada072add6 (patch) | |
tree | 871fb4ebb7968b42d4d913506f6f1189baabb439 | |
parent | 4610833d1e9a0839321f84bbc3c8d27ff19a17f2 (diff) | |
download | cloud-init-git-e06e501e2d93254001f157fda29dadada072add6.tar.gz |
tests: Remove restart check from test
If no SSH restart happens, we get no log. Since this is perfectly
normal, we shouldn't be checking for a log.
-rw-r--r-- | tests/integration_tests/modules/test_set_password.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/integration_tests/modules/test_set_password.py b/tests/integration_tests/modules/test_set_password.py index 824c74c2..765dd30c 100644 --- a/tests/integration_tests/modules/test_set_password.py +++ b/tests/integration_tests/modules/test_set_password.py @@ -199,10 +199,6 @@ class Mixin: "'systemctl', 'show', '--property', 'ActiveState', " "'--value', 'ssh'" in log ) - assert ( - "Restarted the SSH daemon" in log - or "'ssh_pwauth' configuration may not be applied" in log - ) def test_sshd_config(self, class_client): """Test that SSH password auth is enabled.""" |