Pedro Algarvio
7e62178d5a
Add test case to conform parser errors on wrong arguments
2013-12-31 09:32:04 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Thomas S Hatch
3143cb6e48
import skipif
2013-10-16 12:13:16 -06:00
Pedro Algarvio
7de1cda6da
The test needs to be executed as root to pass.
2013-10-16 17:27:05 +01:00
Thomas S Hatch
aa584dc255
Add ret value to test return data
2013-10-15 17:05:04 -06:00
Pedro Algarvio
e72b4a3492
Fix syslog logic checks for file://
, tcp://
and udp://
. Fixes #7754 .
2013-10-15 22:09:37 +01:00
Pedro Algarvio
2b64d0482d
Make sure every temp dir created on the unittests respects, integration.SYS_TMP_DIR
2013-08-27 15:31:58 +00:00
Pedro Algarvio
dfa110d5cc
Updated integration.shell.key
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
222be7b446
Make sure every test module is runnable by __main__
.
...
* Double to single quotes
2013-06-28 00:12:56 +01:00
Thomas S Hatch
e30ce41d7a
we are far enough removed to not need to test version deps here
2013-06-19 12:43:27 -06:00
Pedro Algarvio
44b45ffa0c
Too much spaces(PEP-8).
2013-01-15 22:55:20 +00:00
Pedro Algarvio
b1488b61c5
Fix integration.shell.key
output tests.
2013-01-15 21:53:29 +00:00
Pedro Algarvio
4adaab4dce
Update tests to the new deprecation message.
2013-01-15 19:42:01 +00:00
Pedro Algarvio
526ed994b8
Test for deprecation message first and then use the new --out
format.
2012-11-17 17:39:06 +00:00
Pedro Algarvio
c60e4dd645
Fix tests and "convert" text output to "txt" when choosing outputter.
2012-11-16 00:07:08 +00:00
Pedro Algarvio
e390bd92f4
Fix raw outputter test.
2012-11-15 00:03:31 +00:00
Pedro Algarvio
2053c03843
Fix key shell tests to match outputter changes.
2012-11-04 10:08:30 +00:00
Thomas S Hatch
c8e79c9ac3
fix outputter test with changes to yaml outputter
2012-10-30 14:15:23 -06:00
Pedro Algarvio
cfae86b744
Fix salt-key
tests to comply with the new salt.key
changes.
2012-10-30 17:09:50 +00:00
Thomas S Hatch
1fa5129b90
Fix tests wrt output updates
2012-10-24 22:55:18 -06:00
Pedro Algarvio
6e9b2810ee
Reduce requirements to generate keys.
...
The generation of keys does not involve all the checks required to accept/deny/list keys. This code change allows:
* regular users to generate keys
* `/etc/salt` and `/var/log/salt` not to exist or not to be readable by the current user
It also does not check for a running master. We have now lowered the requirements to run this script just for generating keys.
2012-09-05 22:31:12 +01:00
Thomas S Hatch
f25167802a
fix test that broke because of output changes
2012-08-18 01:48:40 -06:00
Pedro Algarvio
060f33a15a
Cleanup the salt-key
(salt.cli.SaltKey
) binary parser.
...
Reused the output options and logging setup mix-ins.
Fixed a bug introduced in previous commit on `salt.utils.parsers.SaltCPOptionParser._mixin_after_parsed()`, function does not accept any arguments.
2012-08-04 22:55:15 +01:00
Intchanter
a1433ef5ec
PEP8 fixes for tests
2012-06-30 14:10:34 -06:00
Thomas S Hatch
ef6b027e90
Fix salt key tests for new no_color option
2012-06-05 18:10:59 -06:00
Baiju Muthukadan
24bb4ea4e0
Fix PEP8 warnings for test cases
2012-05-29 22:10:20 +05:30
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
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
Baiju Muthukadan
cb5e3ea089
Add testrunner boilerplate code to run tests
2012-05-05 19:39:23 +05:30
Thomas S Hatch
8276c2548b
Change name of clicase to shellcase
2012-04-21 17:51:41 -06:00
Thomas S Hatch
7530f39269
Add some more key tests
2012-04-21 17:47:04 -06:00
Thomas S Hatch
98027c3fb6
Add initial salt-key test
2012-04-21 17:31:46 -06:00