'Check widget\'s data with data on the input'

def test_input_data(self):

    for data in (self.data, self.housing):
        self.assertEqual(self.widget.data, None)
        self.send_signal(self.widget.Inputs.data, data)
        self.assertEqual(self.widget.data, data)
        self.assertFalse(self.widget.Error.active)
        self.assertFalse(self.widget.Warning.active)
        self.assertFalse(self.widget.Information.active)
        self.send_signal(self.widget.Inputs.data, None)
    self.send_signal(self.widget.Inputs.data, self.data[:0])
