

def CreateSink(self, properties):
    ms = MockSink(properties)
    self.ProcessRequest = self.ProcessRequest
    ms.ProcessResponse = self.ProcessResponse
    self.sinks_created.append(ms)
    return ms

dataset/ETHPy150Open steveniemitz/scales/test/scales/util/mocks.py MockSinkProvider.CreateSink/VarMisuse@19/22 `ms`->`self`