diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-11-26 11:49:22 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-01-12 03:13:41 +0100 |
commit | 3f535ed1adfe9c7088852a2c6aa56988440ce8fa (patch) | |
tree | 3a1044cedc3a00efa1f66e315deb1c775f76291b /python | |
parent | 1d7930c8ad2ac5b7f5139b471ebc0b96c8d8b773 (diff) | |
download | samba-3f535ed1adfe9c7088852a2c6aa56988440ce8fa.tar.gz |
py:dcerpc/raw_testcase: add assertEqualsStrLower()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/dcerpc/raw_testcase.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/samba/tests/dcerpc/raw_testcase.py b/python/samba/tests/dcerpc/raw_testcase.py index 555ea8d607d..1a174363214 100644 --- a/python/samba/tests/dcerpc/raw_testcase.py +++ b/python/samba/tests/dcerpc/raw_testcase.py @@ -1158,3 +1158,6 @@ class RawDCERPCTest(TestCase): return zero_pad = b'\0' * length self.assertEquals(pad, zero_pad) + + def assertEqualsStrLower(self, s1, s2): + self.assertEquals(str(s1).lower(), str(s2).lower()) |