URL: https://github.com/SSSD/sssd/pull/5912 Author: aborah-sudo Title: #5912: Tests: Fix pytest-alltests-tier1 Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5912/head:pr5912 git checkout pr5912
From 72f8cfc02ccaf00fc597815a5ef0c07db06331d5 Mon Sep 17 00:00:00 2001 From: Anuj Borah <abo...@redhat.com> Date: Wed, 8 Dec 2021 19:08:18 +0530 Subject: [PATCH] Tests: Fix pytest-alltests-tier1 https://bugzilla.redhat.com/show_bug.cgi?id=1914843 --- src/tests/multihost/alltests/test_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/multihost/alltests/test_proxy.py b/src/tests/multihost/alltests/test_proxy.py index bdf502c0b0..4e517c2fe1 100644 --- a/src/tests/multihost/alltests/test_proxy.py +++ b/src/tests/multihost/alltests/test_proxy.py @@ -70,8 +70,8 @@ def test_0001_1724717(self, multihost): pytest.fail("%s failed to login" % user) else: id_cmd = 'id %s' % user - (_, ret) = client.command(id_cmd) - assert ret == '0' + (ret1, ret) = client.command(id_cmd) + assert "no such user" not in ret1 client.logout() # On fedora after user logs out it takes time # for systemd process running as user to get stopped, hence
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure