Check widget"s reference with reference on the input
self.assertEqual(self.widget.reference, None)
self.send_signal("Reference", self.iris)
self.assertEqual(self.widget.reference, self.iris)
def test_input_reference_disconnect(self):
Check reference after disconnecting reference on the input
self.send_signal("Data", self.iris)
After Change
def test_input_reference(self):
Check widget"s reference with reference on the input
widget = self.widget
self.assertEqual(widget.reference, None)
self.send_signal(widget.Inputs.reference, self.iris)
self.assertEqual(widget.reference, self.iris)
def test_input_reference_disconnect(self):
Check reference after disconnecting reference on the input