mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
Remove __contains__ from mock object for consistency with actual
implementation.
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user