'Check arbitrary workflow with regression data'

def test_scores_updates_reg(self):

    self.send_signal(self.widget.Inputs.data, self.housing)
    self.send_signal(self.widget.Inputs.scorer, self.lin_reg, 1)
    self.assertEqual(self.get_output(self.widget.Outputs.scores).X.shape, (len(self.housing.domain.attributes), 3))
    self.widget.score_checks[(-2)].setChecked(False)
    self.assertEqual(self.get_output(self.widget.Outputs.scores).X.shape, (len(self.housing.domain.attributes), 2))
    self.widget.score_checks[(-2)].setChecked(True)
    self.assertEqual(self.get_output(self.widget.Outputs.scores).X.shape, (len(self.housing.domain.attributes), 3))
    self.send_signal(self.widget.Inputs.scorer, None, 1)
    self.assertEqual(self.get_output(self.widget.Outputs.scores).X.shape, (len(self.housing.domain.attributes), 2))
    self.send_signal(self.widget.Inputs.scorer, self.lin_reg, 1)
    self.assertEqual(self.get_output(self.widget.Outputs.scores).X.shape, (len(self.housing.domain.attributes), 3))
