def test_migrate_selection(self): settings = dict(selection=list(range(2))) OWScatterPlot.migrate_settings(settings, 0) self.assertEqual(settings["selection_group"], [(0, 1), (1, 1)])
def test_migrate_selection(self): settings = dict(selection=list(range(2))) OWScatterPlot.migrate_settings(settings, 0) self.assertEqual(settings["selection_group"], [(0, 1), (1, 1)])