mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
3a8bd786e0
These dunders are already being mocked appropriately below in the test, so we don't need to define them in the test module's namespace. The global definitions here were conflicting with the globals defined in `saltmod_test.py`, and causing the following stacktrace in the test suite: ``` Traceback (most recent call last): File "/root/SaltStack/salt/tests/unit/saltmod_test.py", line 71, in test_state self.assertDictEqual(saltmod.state(name, tgt, highstate=True), test_ret) File "/root/SaltStack/salt/salt/states/saltmod.py", line 252, in state masterless = __opts__['__role'] == 'minion' and \ KeyError: '__role' ``` |
||
---|---|---|
.. | ||
integration | ||
perf | ||
pkg/rpm | ||
unit | ||
utils | ||
__init__.py | ||
buildpackage.py | ||
committer_parser.py | ||
consist.py | ||
eventlisten.py | ||
eventlisten.sh | ||
jenkins.py | ||
minionswarm.py | ||
modparser.py | ||
packdump.py | ||
runtests.py | ||
salt-tcpdump.py | ||
saltsh.py | ||
wheeltest.py | ||
whitelist.txt |