L.C. Rees
cc8a921311
- more py3k fixes
2012-06-04 16:40:34 -06:00
Thomas S Hatch
400a429502
Add user to integration verify_env
2012-06-02 23:17:52 -06:00
L.C. Rees
cdb5e89631
- exploit how 'iterkeys' is default iterator for dict
...
- use values()
- pep8
2012-06-01 13:06:43 -06:00
L.C. Rees
140e8781df
- py3k updates
2012-05-31 23:31:27 -06:00
Baiju Muthukadan
91ce3a7ec9
cleanup temp directories created by tests
2012-05-31 16:13:03 +05:30
Thomas S Hatch
dc6138b787
move runner tests to the front to clean up the output
2012-05-30 17:10:48 -06:00
L.C. Rees
924d8b450b
- fix cmd tests so they pass on MacOS X
2012-05-30 15:57:53 -06:00
Baiju Muthukadan
5f0de59ab7
Test runner boiler plate; remove unused imports
2012-05-31 03:11:25 +05:30
Dan Colish
49972a1580
The text outputter will insert newlines, the tests must expect these
...
to be present.
2012-05-29 21:45:51 -07:00
Dan Colish
f5c8e242e4
Refactor runtests to allow dotted path module discovery.
...
In addition to traditional file system path test discovery it is
useful to run a test by stating it's dotted python path. For example,
this will only run the cmdmod integration tests from the
module suite::
$ runtests.py -n tests.integration.modules.cmdmod
2012-05-29 19:56:47 -07:00
Baiju Muthukadan
24bb4ea4e0
Fix PEP8 warnings for test cases
2012-05-29 22:10:20 +05:30
Thomas S Hatch
7247c5afe7
Fix test error due to fix in static calls
2012-05-27 21:43:35 -06:00
Thomas S Hatch
0020706067
Add jobs jobs.list_jobs runner test
2012-05-27 21:34:48 -06:00
Thomas S Hatch
e5b5d458c3
Add tests for jobs runner
2012-05-27 21:24:45 -06:00
Thomas S Hatch
a19ffae25f
Add tests for the manage runner
2012-05-27 21:02:29 -06:00
Thomas S Hatch
0b9f381781
Add runners to the main test script
2012-05-27 21:01:08 -06:00
Thomas S Hatch
aed4f593e0
Add runner test interface
2012-05-27 21:00:10 -06:00
Thomas S Hatch
d8ca98f3a4
Add test to make sure #1348 does not happen again
2012-05-27 17:41:49 -06:00
Jon McKenzie
c0f8e07bd7
Add --yaml-out, --json-out, and --raw-out outputters to salt-key CLI (retain color output as default)
2012-05-26 18:22:24 -04:00
Roman Imankulov
28ca4cb776
Fix file.comment/file.uncomment states
...
Function "file.contains_regex" used to search values from the beginning
of the line and thus couldn't find pattern "hello world" in a "#hello
world" string.
2012-05-25 12:38:57 +06:00
Roman Imankulov
c9a20edee0
Fix ssh_known_hosts state return values
2012-05-24 22:05:45 +06:00
Roman Imankulov
d45bc9179a
Set ssh.set_known_host bug
2012-05-23 23:45:16 +06:00
Thomas S Hatch
8bfab4e7c0
pillar matcher test
2012-05-23 10:18:54 -06:00
Thomas S Hatch
f7e2af08cf
Add pillar data specific to the sub_minion
2012-05-23 10:05:14 -06:00
Thomas S Hatch
757e8591dd
Add test for compound matcher
2012-05-23 09:57:33 -06:00
Thomas S Hatch
b25e82c59f
Add regex grain match tests
2012-05-23 09:39:10 -06:00
Thomas S Hatch
b5bdfc3073
Add grain matcher test
2012-05-23 08:46:12 -06:00
Thomas S Hatch
19baf0f577
Add initial matcher tests
2012-05-23 08:31:58 -06:00
Thomas S Hatch
5c09aa3778
Fix docstrings in shellCase
2012-05-23 08:14:16 -06:00
Thomas S Hatch
b1c710e70a
fix error with new minion in salt-key tests
2012-05-23 08:08:35 -06:00
Thomas S Hatch
dd6e2da941
Fix salt-key test for new minion
2012-05-23 08:05:47 -06:00
Thomas S Hatch
c9cddd2245
Add second minion to tests
2012-05-23 08:04:38 -06:00
Roman Imankulov
f20cb3b92c
Add support for test mode operations
2012-05-23 00:13:52 +06:00
Roman Imankulov
41465d5f0a
Add support for ssh_known_hosts states
2012-05-21 23:45:03 +06:00
Roman Imankulov
1590483fe2
Add support for known_hosts management
...
Module "ssh" is now capable of keeping track of records in ssh
known_hosts file, as well as asking remote hosts for their public keys.
2012-05-21 21:49:43 +06:00
Roman Imankulov
9d193b85b7
Add support for ssh public keys fingerprint
...
- function _validate_keys returns public key fingerprint as described in
RFC 4716
- one more test to validate how "ssh.auth_keys" function works
2012-05-20 23:09:52 +06:00
Thomas S Hatch
a4864f9c80
Add initial compiler tests
2012-05-16 23:00:01 -06:00
Thomas S Hatch
fdf155bbe2
Add interface for testing bad sls data
2012-05-16 22:58:18 -06:00
Thomas S Hatch
76efdd9fb0
Fix bug in tests with aliases
2012-05-16 22:49:19 -06:00
Thomas S Hatch
5f9a7e87e4
Initial host state test
2012-05-14 23:56:45 -06:00
Thomas S Hatch
26bcb2a4cf
Add state_result method to ModuleCase
...
This makes getting the result field out of the return from run_state
easier
2012-05-14 23:43:16 -06:00
Thomas S Hatch
3abc36b4d2
Add tests for cmd state
2012-05-14 11:18:36 -06:00
Thomas S Hatch
8e26ea646e
Add rm_alias test
2012-05-14 10:44:17 -06:00
Thomas S Hatch
3c92ebc465
aliases.list_aliases test
2012-05-14 09:59:38 -06:00
Thomas S Hatch
800cf2825c
Add test for aliases.has_target
2012-05-14 00:04:26 -06:00
Thomas S Hatch
b97ec99999
Add initial aliases tests
2012-05-13 23:51:22 -06:00
Thomas S Hatch
c5df9f6526
Add config for aliases tests
2012-05-13 23:51:00 -06:00
Thomas S Hatch
04652619d8
Fix #1268 , this adds the working test for recursive requisite errors
2012-05-13 23:16:45 -06:00
Thomas S Hatch
eead7e0dab
Add test for recursive sls data checks
2012-05-13 21:31:46 -06:00
Baiju Muthukadan
fa3b39f071
remove trailing whitespaces
2012-05-13 19:48:05 +05:30