def test_started(self):
        name = 'web01'

        ret = {'name': name,
               'result': False,
               'comment': '',
               'changes': {}}

        mock = MagicMock(return_value=None)
        with patch.dict(lxc.__salt__, {'lxc.state': mock}):
            with patch.object(salt.utils, 'warn_until', MagicMock()):
                comt = ("Container 'web01' does not exist")
                ret.update({'comment': comt})
                self.assertDictEqual(lxc.started(name), ret)

    # 'cloned' function tests: 1
Test to execute started func.
dataset/ETHPy150Open saltstack/salt/tests/unit/states/lxc_test.py/LxcTestCase.test_started