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

pytest/sddl: give test more of a name

I think it worked, but the convention is that tests have a test_ prefix,
and it woudn't be surpoising if something somewhere decides to depend on
that.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall
2023-03-21 13:05:55 +13:00
committed by Andrew Bartlett
parent 35bf8ff4f4
commit 298821a8ed

View File

@@ -176,7 +176,7 @@ class SddlDecodeEncode(TestCase):
"(A;;RPLCLORC;;;AU)"),
]
def test(self):
def test_sddl(self):
sid = security.dom_sid("S-1-2-3-4")
for s in self.strings:
sd = security.descriptor.from_sddl(s, sid)