diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-03-01 03:46:56 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-03-01 03:48:11 +0100 |
commit | da96d3fdba8dd317d931d36d101d956e829c07d8 (patch) | |
tree | 31a65d5e5a0d3fac2865dad3870d8d116e41e394 | |
parent | e49041065f1a91ba49667c32964866538b77dad7 (diff) | |
download | samba-da96d3fdba8dd317d931d36d101d956e829c07d8.tar.gz samba-da96d3fdba8dd317d931d36d101d956e829c07d8.tar.bz2 samba-da96d3fdba8dd317d931d36d101d956e829c07d8.zip |
Remove __contains__ from mock object for consistency with actual
implementation.
-rw-r--r-- | source4/scripting/python/samba/tests/shares.py | 3 |
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) |