def test_create_destroy(self):

        r = self.run_function('lxc.create', [self.prefix],
                              template='sshd')
        self.assertEqual(r, {'state': {'new': 'stopped', 'old': None},
                             'result': True})
        self.assertTrue(self.run_function('lxc.exists', [self.prefix]))
        r = self.run_function('lxc.destroy', [self.prefix])
        self.assertEqual(r, {'state': None, 'change': True})
        self.assertFalse(self.run_function('lxc.exists', [self.prefix]))
Get a copy of the children set.
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/lxc.py/LXCModuleTest.test_create_destroy--crossover with--dataset/ETHPy150Open ylamgarchal/chillaxd/chillaxd/datanode.py/DataNode.get_children