salt/tests/unit/pillar
Olivier Mauras 61f30a9d80 Correct when dict is NoneType because of the value doesn't exist
Example:

``` yaml
pillars:
  default:
    commands:
{% if grains['os'] == 'RedHat' %}
      pkg_grains: /usr/bin/rpm_grains
{% endif %}
```

In this case `pkg_grains` wouldn't be found on anything else that RedHat systems and would be NoneType which would return an error and break the module.
2017-11-13 19:49:25 +01:00
..
__init__.py Test cases 2014-02-06 05:14:52 +00:00
test_consul.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_extra_minion_data_in_pillar.py pylint 2017-09-28 11:32:03 -04:00
test_hg.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_mysql.py Code review fixup. 2017-06-20 20:26:58 +03:00
test_nodegroups.py Updating another test for nodegroups in pillar. 2017-08-15 20:24:40 -07:00
test_saltclass.py Correct when dict is NoneType because of the value doesn't exist 2017-11-13 19:49:25 +01:00
test_sqlcipher.py Import the full module namespace to avoid import shadowing. 2017-03-28 19:02:47 +01:00
test_sqlite3.py Import the full module namespace to avoid import shadowing. 2017-03-28 19:02:47 +01:00