Christophe Drevet-Droguet
1c5cd4c82d
grains state: changes comment more accurate
2015-11-02 09:31:44 -05:00
Christophe Drevet-Droguet
6b8c245b87
grains state: new tests for nested grains
2015-11-02 09:31:43 -05:00
Mike Place
db9d61251b
Lint
2015-06-29 16:16:11 -06:00
Mike Place
afbe54e677
Reset grains opts on each test
2015-06-29 16:15:41 -06:00
Mike Place
96a6e446da
Try another way to fix grains test
2015-06-29 10:42:13 -06:00
Mike Place
d48af16594
Set grains test to local
2015-06-25 15:30:16 -06:00
Mike Place
e1069741ea
Fix grains test
2015-06-24 10:46:40 -06:00
Christophe Drevet-Droguet
ed4d0646a4
unit tests for state grains: use a subdirectory for config file
...
This way, there is no /tmp/grains created on test execution. And the issue
with test_absent_delete is always triggered.
Maybe we should use mocked files, but I'm not sure how to do it.
2015-06-19 12:49:48 +02:00
Christophe Drevet-Droguet
ff5267b1b6
trying to fix jenkins error
...
There are many jenkins errors on linode CentOS7. The function `saltutil.sync_grains`
does not seem to be mocked correctly on this platform.
Based on 1f5836d0bb
2015-06-19 12:49:28 +02:00
Christophe Drevet-Droguet
650fa90b97
more complete unit tests for state grains
2015-06-19 09:20:23 +02:00
Christophe Drevet-Droguet
8a63d1ebbe
fix state grains silently fails #24319
2015-06-02 13:29:59 +02:00
Christophe Drevet-Droguet
ca1af20203
grains state: add some tests
2015-06-02 13:29:52 +02:00
Jayesh Kariya
3002729f72
adding states/grains unit test case.
2015-04-08 14:13:20 +05:30