

def test_default_provides_can_be_overridden(self):
    task = DefaultProvidesTask(provides=('spam', 'eggs'))
    self.assertEqual(set(['spam', 'eggs']), task.provides)
    self.assertEqual({
        'spam': 0,
        'eggs': 1,
    }, task.save_as)

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py TaskTest.test_default_provides_can_be_overridden/original