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:
e490410
)
Remove __contains__ from mock object for consistency with actual
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 1 Mar 2010 02:46:56 +0000
(
03:46
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 1 Mar 2010 02:48:11 +0000
(
03:48
+0100)
implementation.
source4/scripting/python/samba/tests/shares.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/tests/shares.py
b/source4/scripting/python/samba/tests/shares.py
index 9130c36780125d85deb51220827dae4b1d8945cf..160e3cf8839f3e6f4a0e6fd19d143f8e489e1059 100644
(file)
--- a/
source4/scripting/python/samba/tests/shares.py
+++ b/
source4/scripting/python/samba/tests/shares.py
@@
-37,9
+37,6
@@
class MockLoadParm(object):
def __getitem__(self, name):
return MockService(self.data[name])
- def __contains__(self, name):
- return name in self.data
-
def __len__(self):
return len(self.data)