ipatests: test_sudo: Do not expect enumeration of runasuser groups

Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
Tomas Babej authored and Petr Viktorin committed 2014-06-25 20:14:52 +02:00
1 parent e0fd2695ca
commit 701f1fc8ba
1 file changed
+1 -1
+1 -1
View File
@@ -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):