def test_splits(self):
    MixtureRegistry.add('test_mix', [(self.cached_task.name, 1), (self.uncached_task.name, 1)])
    mix = MixtureRegistry.get('test_mix')
    self.assertSameElements(['train', 'validation'], mix.splits, 30)
def test_splits(self):
    MixtureRegistry.add('test_mix', [(self.cached_task.name, 1), (self.uncached_task.name, 1)])
    mix = MixtureRegistry.get('test_mix')
    self.assertSameElements(['train', 'validation'], mix.splits, 30)