summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-01 03:46:56 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-03-01 03:48:11 +0100
commitda96d3fdba8dd317d931d36d101d956e829c07d8 (patch)
tree31a65d5e5a0d3fac2865dad3870d8d116e41e394 /source4/scripting
parente49041065f1a91ba49667c32964866538b77dad7 (diff)
downloadsamba-da96d3fdba8dd317d931d36d101d956e829c07d8.tar.gz
samba-da96d3fdba8dd317d931d36d101d956e829c07d8.tar.bz2
samba-da96d3fdba8dd317d931d36d101d956e829c07d8.zip
Remove __contains__ from mock object for consistency with actual
implementation.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/tests/shares.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/tests/shares.py b/source4/scripting/python/samba/tests/shares.py
index 9130c36780..160e3cf883 100644
--- 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)