python: move method escaped_claim_id from test to samba.sd_utils
authorRob van der Linde <rob@catalyst.net.nz>
Thu, 26 Oct 2023 00:13:44 +0000 (13:13 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 26 Oct 2023 23:32:34 +0000 (23:32 +0000)
commit16d52aa559ab60a9e2b1aba71c9f866833bab9f0
treebab3ab995d028f8a802b2770d614b53a4b5a86ff
parent47f5bc78b88b371c40a85b0b716793da771dc6c9
python: move method escaped_claim_id from test to samba.sd_utils

This is so that it can be used in other places too without the need to import or extend the test base class

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/sd_utils.py
python/samba/tests/krb5/conditional_ace_tests.py