summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-05-15 17:02:10 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-06-25 20:14:52 +0200
commit701f1fc8ba8fa2cbde6c16b031793d0069fddd33 (patch)
tree8edbcd55812087fa36e815e3b78e7d477cb8e046 /ipatests
parente0fd2695ca3c1c2df8bbecadd4597ccf0aeca004 (diff)
downloadfreeipa-701f1fc8ba8fa2cbde6c16b031793d0069fddd33.tar.gz
freeipa-701f1fc8ba8fa2cbde6c16b031793d0069fddd33.tar.xz
freeipa-701f1fc8ba8fa2cbde6c16b031793d0069fddd33.zip
ipatests: test_sudo: Do not expect enumeration of runasuser groups
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_integration/test_sudo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_integration/test_sudo.py b/ipatests/test_integration/test_sudo.py
index e4ff2ae86..77632130c 100644
--- a/ipatests/test_integration/test_sudo.py
+++ b/ipatests/test_integration/test_sudo.py
@@ -439,7 +439,7 @@ class TestSudo(IntegrationTest):
def test_sudo_rule_restricted_to_running_as_users_from_group(self):
result1 = self.list_sudo_commands("testuser1", verbose=True)
- assert "RunAsUsers: testuser2" in result1.stdout_text
+ assert "RunAsUsers: %testgroup2" in result1.stdout_text
assert "RunAsGroups:" not in result1.stdout_text
def test_setting_category_to_all_with_valid_entries_runasuser_group(self):