[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Mon Dec 20 17:02:01 UTC 2021


The branch, master has been updated
       via  2da538a4585 python:tests: Don't require an emtpy 'authorization-data' to be present
       via  bd804e0eef8 Revert "python:tests: Don't require an emtpy 'authorization-data' to be present"
      from  00c2425c2c1 s3/rpc_server: Remove duplicate dependency listing for RPC_SERVICE

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 2da538a4585bc8ead5fc4e4c4422b8fe638cb621
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Dec 16 07:24:58 2021 +0100

    python:tests: Don't require an emtpy 'authorization-data' to be present
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Joseph Sutton <josephsutton at catalyst.net.nz>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Mon Dec 20 17:01:11 UTC 2021 on sn-devel-184

commit bd804e0eef85ed4e05f9a3b7afbd29b1ba4a5d97
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Dec 20 17:02:12 2021 +0100

    Revert "python:tests: Don't require an emtpy 'authorization-data' to be present"
    
    This reverts commit 36325f1ee907d38c978229da67de3844f969cd33.
    
    This was not the latest version from:
    https://gitlab.com/samba-team/samba/-/merge_requests/2304
    
    The correct version follows...
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 python/samba/tests/krb5/raw_testcase.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/python/samba/tests/krb5/raw_testcase.py b/python/samba/tests/krb5/raw_testcase.py
index 8b6eec3c40d..1496ff961cd 100644
--- a/python/samba/tests/krb5/raw_testcase.py
+++ b/python/samba/tests/krb5/raw_testcase.py
@@ -2502,7 +2502,9 @@ class RawKerberosTest(TestCaseInTempDir):
                     v = self.getElementValue(ticket_private,
                                              'authorization-data')
                     if v is not None:
-                        self.assertEqual(0, len(v))
+                        self.assertElementPresent(ticket_private,
+                                                  'authorization-data',
+                                                  expect_empty=True)
 
         encpart_session_key = None
         if encpart_private is not None:


-- 
Samba Shared Repository



More information about the samba-cvs mailing list