'Widget should intepret meta data which are continuous or discrete in the same way
as features or target. However still one variable should be target or feature.
gh-2098'

def test_metadata(self):

    table = Table(Domain([], [], [ContinuousVariable('a'), DiscreteVariable('b', values=['y', 'n'])]), list(zip([42.48, 16.84, 15.23, 23.8], 'yynn')))
    with patch('Orange.widgets.visualize.owsieve.Discretize', wraps=Discretize) as disc:
        self.send_signal(self.widget.Inputs.data, table)
        self.assertTrue(disc.called)
    metas = self.widget.discrete_data.domain.metas
    self.assertEqual(len(metas), 2)
    self.assertTrue(all((attr.is_discrete for attr in metas)))
