git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d7930c
)
py:dcerpc/raw_testcase: add assertEqualsStrLower()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 26 Nov 2018 10:49:22 +0000
(11:49 +0100)
committer
Jeremy Allison
<jra@samba.org>
Sat, 12 Jan 2019 02:13:41 +0000
(
03:13
+0100)
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>
python/samba/tests/dcerpc/raw_testcase.py
patch
|
blob
|
history
diff --git
a/python/samba/tests/dcerpc/raw_testcase.py
b/python/samba/tests/dcerpc/raw_testcase.py
index 555ea8d607db4767407544f3df25d9586e7193e3..1a174363214cb76839f34d1a375c642d6811cf63 100644
(file)
--- 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())