'Setup things to be run when tests are started.'

def setup_method(self, method):

    self.hass = get_test_home_assistant()
    self.port = mock.MagicMock()
    self.sensor = mfi.MfiSensor(self.port, self.hass)
