salt/tests/unit
Evan Borgstrom 3223a15f83 This fixes #21796
From the Python docs on the exec statement:

> Remember that at module level, globals and locals are the same dictionary.
> If two separate objects are given as globals and locals, the code will be
> executed as if it were embedded in a class definition.

We were providing a specific object for locals and in the specific case
reported in #21796 this caused a very strange name error when used in a
specific way. By removing the explicit locals dictionary and just having the
globals dictionary be shared fixes the issue, and we weren't using the
specific locals anyway.
2015-03-21 07:58:14 -07:00
..
cli Add transport key to mocked opts to fix batch unit tests 2015-02-25 13:51:25 -07:00
modules added tests to ensure commands are created accordingly (without additional single quotes) 2015-03-16 14:49:09 -06:00
netapi Add timeout to saltnado's event listener 2015-03-18 08:09:41 -07:00
output fix email address 2014-07-07 15:44:36 -06:00
pillar Allow standalone test execution 2014-03-31 03:05:05 +01:00
renderers Fix ensure in syspath call 2014-10-12 02:16:23 +01:00
returners Fix SMTP test 2014-05-29 16:38:59 -06:00
states unit tests for states.archive.extracted tar opts 2015-03-17 20:40:20 -06:00
templates Fix TestSaltCacheLoader tests 2015-01-26 16:04:21 -06:00
utils Merge pull request #20616 from rallytime/merge-20419 2015-02-12 10:38:53 -07:00
__init__.py First stab at unit tests for the various rest_cherrypy tool functions 2014-03-31 09:59:55 -06:00
auth_test.py Load configs from scratch 2014-10-08 01:02:10 +01:00
client_test.py Remove unused imports 2014-06-15 13:05:18 +01:00
config_test.py Update syndic_config test for new cachedir 2015-03-19 11:33:09 -06:00
files_test.py Switch open() for salt.utils.fopen() 2014-11-26 18:24:08 +00:00
highstateconf_test.py Add required imports 2014-12-02 07:44:16 +00:00
log_test.py Make pylint ignore "non issues" 2014-08-10 06:06:41 +01:00
minion_test.py Ensure this test is run as root 2014-05-22 12:02:44 -05:00
overstate_test.py Remove unused imports 2014-06-15 13:05:17 +01:00
payload_test.py Pylint fixes 2014-11-10 13:03:35 -08:00
pillar_test.py Remove unnecessary ©️ and :license: from file headers 2014-05-26 19:26:15 +01:00
pydsl_test.py Switch open() for salt.utils.fopen() 2014-11-26 18:28:56 +00:00
pyobjects_test.py This fixes #21796 2015-03-21 07:58:14 -07:00
simple.py Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
stateconf_test.py Proper minion config initialization 2014-12-02 07:43:18 +00:00
template_test.py Remove unused imports 2014-02-08 07:59:03 +00:00
version_test.py Add another which only changes the noc 2014-07-30 18:10:22 +01:00