diff options
author | Pavel Reichl <preichl@redhat.com> | 2015-10-06 14:37:28 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-10-08 20:35:27 +0200 |
commit | 1584db9c0b15ee239bd4e163c4ecaf6909b1b11b (patch) | |
tree | a3d659196b690935c8e8378f4a074f36fec850b0 | |
parent | 8ded8b2f4a57d1833fd230307218d8b07a571785 (diff) | |
download | sssd-1584db9c0b15ee239bd4e163c4ecaf6909b1b11b.tar.gz sssd-1584db9c0b15ee239bd4e163c4ecaf6909b1b11b.tar.xz sssd-1584db9c0b15ee239bd4e163c4ecaf6909b1b11b.zip |
intg: fix assert messages in test_memory_cache
Reviewed-by: Michal Židek <mzidek@redhat.com>
-rw-r--r-- | src/tests/intg/test_memory_cache.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tests/intg/test_memory_cache.py b/src/tests/intg/test_memory_cache.py index 1f4ccb0f9..8b06a4aa2 100644 --- a/src/tests/intg/test_memory_cache.py +++ b/src/tests/intg/test_memory_cache.py @@ -619,7 +619,7 @@ def test_invalidate_user_before_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() subprocess.call(["sss_cache", "-u", "user1"]) @@ -632,7 +632,7 @@ def test_invalidate_user_after_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() stop_sssd() @@ -645,7 +645,7 @@ def test_invalidate_users_before_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() subprocess.call(["sss_cache", "-U"]) @@ -658,7 +658,7 @@ def test_invalidate_users_after_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() stop_sssd() @@ -671,7 +671,7 @@ def test_invalidate_group_before_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() subprocess.call(["sss_cache", "-g", "group1"]) @@ -684,7 +684,7 @@ def test_invalidate_group_after_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() stop_sssd() @@ -697,7 +697,7 @@ def test_invalidate_groups_before_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() subprocess.call(["sss_cache", "-G"]) @@ -710,7 +710,7 @@ def test_invalidate_groups_after_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() stop_sssd() @@ -723,7 +723,7 @@ def test_invalidate_everything_before_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() subprocess.call(["sss_cache", "-E"]) @@ -736,7 +736,7 @@ def test_invalidate_everything_after_stop(ldap_conn, sanity_rfc2307): # initialize cache with full ID (res, errno, _) = sssd_id.get_user_groups("user1") assert res == sssd_id.NssReturnCode.SUCCESS, \ - "Could not find groups for user1 %s, %d" % errno + "Could not find groups for user1, %d" % errno assert_mc_records_for_user1() stop_sssd() |