def test_module_run_test_true(self):
        with patch.dict(module.__opts__, {'test': True}):
            ret = module.run(CMD)
            comment = 'Module function {0} is set to execute'.format(CMD)
            self.assertEqual(ret['comment'], comment)
Tests the return of module.run state when test=True is passed in
dataset/ETHPy150Open saltstack/salt/tests/unit/states/module_test.py/ModuleStateTest.test_module_run_test_true