def _setup(self, in_prefix, out_prefix):
    'Set up gateway.'
    self.gateway = MQTTGateway(self.mock_pub, self.mock_sub, in_prefix=in_prefix, out_prefix=out_prefix)
Set up gateway.
def _setup(self, in_prefix, out_prefix):
    
    self.gateway = MQTTGateway(self.mock_pub, self.mock_sub, in_prefix=in_prefix, out_prefix=out_prefix)