'Check naive bayes classifier on input'

def test_input_nb_cls(self):

    self.send_signal(self.widget.Inputs.classifier, self.nb_cls)
    self.assertEqual(len([item for item in self.widget.scene.items() if isinstance(item, DiscreteFeatureItem)]), min(self.widget.n_attributes, len(self.data.domain.attributes)))
