1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00

python:tests: Remove unnecessary f‐strings

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2023-10-24 16:32:31 +13:00
committed by Andrew Bartlett
parent 1798342735
commit c750c1db7f
3 changed files with 6 additions and 6 deletions

View File

@@ -216,7 +216,7 @@ class AuthSiloCmdTestCase(BaseAuthCmdTest):
"--name", "policyNotFound",
"--policy", "Invalid Policy")
self.assertEqual(result, -1)
self.assertIn(f"Authentication policy Invalid Policy not found.", err)
self.assertIn("Authentication policy Invalid Policy not found.", err)
def test_authentication_silo_create_fails(self):
"""Test creating an authentication silo, but it fails."""