From: Jelmer Vernooij Date: Mon, 1 Mar 2010 02:46:56 +0000 (+0100) Subject: Remove __contains__ from mock object for consistency with actual X-Git-Tag: samba-3.6.0pre1~4901 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da96d3fdba8dd317d931d36d101d956e829c07d8;p=thirdparty%2Fsamba.git Remove __contains__ from mock object for consistency with actual implementation. --- diff --git a/source4/scripting/python/samba/tests/shares.py b/source4/scripting/python/samba/tests/shares.py index 9130c367801..160e3cf8839 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)