]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:tests: Complete assertion messages
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 25 Aug 2023 01:58:39 +0000 (13:58 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 Aug 2023 02:15:29 +0000 (02:15 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/getdcname.py

index daf668641a170c71c3f5277913d331ce45d87d4f..d248b20d25dd27bffe75762149919d73a6e23b2c 100644 (file)
@@ -508,7 +508,7 @@ class GetDCNameEx(samba.tests.TestCase):
             response = self._call_get_dc_name(domain=self.realm,
                                               flags=netlogon.DS_RETURN_DNS_NAME|netlogon.DS_WEB_SERVICE_REQUIRED)
 
-            self.fail("Failed to detect that requirement for Web Services was not")
+            self.fail("Failed to detect that requirement for Web Services was not met")
         except WERRORError as e:
             enum, estr = e.args
             if enum != werror.WERR_NO_SUCH_DOMAIN:
@@ -541,7 +541,7 @@ class GetDCNameEx(samba.tests.TestCase):
             response = self._call_get_dc_name(domain=self.trust_realm,
                                               flags=netlogon.DS_RETURN_DNS_NAME|netlogon.DS_WEB_SERVICE_REQUIRED)
 
-            self.fail("Failed to detect that requirement for Web Services was not")
+            self.fail("Failed to detect that requirement for Web Services was not met")
         except WERRORError as e:
             enum, estr = e.args
             if enum != werror.WERR_NO_SUCH_DOMAIN: