def test_cas_update(self):
        self._clear_db()
        self.assertTrue(self.run_function('data.update', ['spam', 'eggs']))
        self.assertTrue(self.run_function('data.cas', ['spam', 'green', 'eggs']))
        self.assertEqual(self.run_function('data.get', ['spam']), 'green')
Initializes this class.
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/data.py/DataModuleTest.test_cas_update--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/locking.py/_PipeConditionWithMode.__init__