From 95cb6a0bb1625c2b2099c7374424d595164be2e8 Mon Sep 17 00:00:00 2001 From: Rob van der Linde Date: Wed, 25 Oct 2023 17:25:51 +1300 Subject: [PATCH] python: tests: qa and developers were not in the correct case Signed-off-by: Rob van der Linde Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- python/samba/tests/samba_tool/domain_auth_silo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/samba/tests/samba_tool/domain_auth_silo.py b/python/samba/tests/samba_tool/domain_auth_silo.py index d41bd36b270..59f5c279633 100644 --- a/python/samba/tests/samba_tool/domain_auth_silo.py +++ b/python/samba/tests/samba_tool/domain_auth_silo.py @@ -303,7 +303,7 @@ class AuthSiloCmdTestCase(BaseAuthCmdTest): def test_modify__audit_enforce_together(self): """Test modify silo doesn't allow both --audit and --enforce.""" result, out, err = self.runcmd("domain", "auth", "silo", "modify", - "--name", "qa", + "--name", "QA", "--audit", "--enforce") self.assertEqual(result, -1) self.assertIn("--audit and --enforce cannot be used together.", err) @@ -311,7 +311,7 @@ class AuthSiloCmdTestCase(BaseAuthCmdTest): def test_modify__protect_unprotect_together(self): """Test modify silo using both --protect and --unprotect.""" result, out, err = self.runcmd("domain", "auth", "silo", "modify", - "--name", "developers", + "--name", "Developers", "--protect", "--unprotect") self.assertEqual(result, -1) self.assertIn("--protect and --unprotect cannot be used together.", err) @@ -336,7 +336,7 @@ class AuthSiloCmdTestCase(BaseAuthCmdTest): with patch.object(SamDB, "modify") as add_mock: add_mock.side_effect = ModelError("Custom error message") result, out, err = self.runcmd("domain", "auth", "silo", "modify", - "--name", "developers", + "--name", "Developers", "--description", "Devs") self.assertEqual(result, -1) self.assertIn("Custom error message", err) -- 2.34.1