Commit Graph

2301 Commits

Author SHA1 Message Date
Thomas S Hatch
2ad2739d98 Merge pull request #12680 from tedski/mdadm_refactor
Refactor mdadm module/state to support all options on create.
2014-05-12 16:38:56 -06:00
rallytime
0042169b7c Created renderers directory in salt/tests/unit for gpg_test.py 2014-05-12 13:21:26 -06:00
Pedro Algarvio
a1aee355e5 Include outputter tests in tests suite. 2014-05-12 19:10:11 +01:00
Pedro Algarvio
5d779444be No need to be root to run these tests 2014-05-12 19:09:55 +01:00
Pedro Algarvio
6b1380a25c Move sshd_config file to another directory to avoid problems. 2014-05-12 19:06:09 +01:00
rallytime
8bf15e9062 Integration tests for checking outputter return data 2014-05-12 11:31:59 -06:00
Ted Strzalkowski
71983ab581 another pylint fix 2014-05-11 19:06:09 -07:00
Ted Strzalkowski
2f417e1250 pylint fix 2014-05-11 18:57:43 -07:00
Ted Strzalkowski
35a1955ea8 Added unit tests for refactored mdadm module.
- test that mdadm.create returns the proper cmd.run inputs
- test that test_mode=True does not call cmd.run
2014-05-11 18:46:22 -07:00
Pedro Algarvio
df802117b1 Remove extra new line 2014-05-10 15:09:13 +01:00
Pedro Algarvio
592c669f75 Add coding header 2014-05-10 14:42:41 +01:00
Pedro Algarvio
8f1f212a7f Remove trailing white-space. 2014-05-10 14:41:48 +01:00
Mike Place
d7bba818a9 Only listen on localhost. 2014-05-10 14:18:53 +01:00
Mike Place
1fe291346f Cleanup 2014-05-10 14:18:53 +01:00
Mike Place
0cbac67a3f Support for continuous integration testing of salt-ssh 2014-05-10 14:18:53 +01:00
Pedro Algarvio
9630d43d05 Add option to run SSH tests.
Refs saltstack/salt-testing#16 and #12661
2014-05-10 14:12:04 +01:00
Thomas S Hatch
039e0841c1 Merge pull request #12548 from cachedout/12111
Eauth improvements and fixes
2014-05-09 13:55:42 -06:00
rallytime
aa45f50f04 Remove unused imports 2014-05-08 21:15:31 -06:00
rallytime
824969eab9 Correctly skip unit tests if gnupg is not installed 2014-05-08 21:10:15 -06:00
rallytime
cf4d2372b8 Modified GPG tests 2014-05-08 16:44:56 -06:00
Nicole Thomas
a77b55f054 Merge pull request #12527 from baconz/develop
Add unit tests and function doc strings to gpg renderer
2014-05-08 16:41:45 -06:00
Mike Place
33626659c7 Rewrite opts and pylint 2014-05-08 16:19:07 -06:00
Mike Place
f338bfd20e Pylint 2014-05-07 16:58:34 -06:00
Mike Place
f570ab8fd5 More client acl testing. 2014-05-07 16:43:52 -06:00
Erik Johnson
5c07011d65 Remove unnecessary test module 2014-05-07 13:00:33 -05:00
Thayne Harbaugh
871ba0010f BUG: The MOCK_HOSTNAME is not sufficiently long.
Extend the MOCK_HOSTNAME for a better chance that it will be longer
than the actual hostname.
2014-05-06 16:00:40 -06:00
Thayne Harbaugh
09eb54798b The MOCK_HOSTNAME is not sufficiently long to guarantee that it is
longer than the hostname on the current host.  Make it crazy long.
2014-05-06 15:28:55 -06:00
Mike Place
fac2c9754b Hook the assertions into the event system. 2014-05-06 12:04:12 -06:00
Mike Place
469989092d Pylint and (hopefully) Jenkins test fix. 2014-05-06 10:21:53 -06:00
Mike Place
e6e0eec532 More pylint 2014-05-06 09:23:09 -06:00
Mike Place
bbebbc6dfd Introducing eauth unit testing.
Typo
2014-05-05 16:52:26 -06:00
s8weber
d4b7951da8 fix minion id generation 2014-05-04 19:23:03 -04:00
Seth Madison
7453d6ef35 Add some unit tests for gpg renderer 2014-05-04 15:57:32 -04:00
Pedro Algarvio
e096df9016 Replace string substitution with string formatting 2014-05-01 13:29:38 +01:00
Pedro Algarvio
91182e9e44 Replace string substitution with string formatting 2014-05-01 13:29:38 +01:00
Chris Rebert
45981a56f9 lots of copyediting 2014-04-30 12:06:27 -07:00
Pedro Algarvio
9a20d4f43a Fix logic 2014-04-30 16:07:23 +01:00
Pedro Algarvio
7278635f28 Don't pip stderr to stdout 2014-04-30 08:39:49 +01:00
Pedro Algarvio
18df3d63b0 Don't fail when no JSON can be loaded 2014-04-30 00:46:21 +01:00
Pedro Algarvio
38493bae47 Strip empty strings. 2014-04-30 00:41:18 +01:00
Pedro Algarvio
a13632cd46 Don't fail hard of version comparison 2014-04-29 23:58:37 +01:00
Pedro Algarvio
e31ca389ae Provide a custom keyring just for tests.
Properly skip tests.
2014-04-27 13:26:59 +01:00
Pedro Algarvio
18d969a674 Adapt the test to the changes made in 3c284b1b6. 2014-04-27 12:35:07 +01:00
Joseph Hall
7b05da5df6 Merge pull request #12291 from skrobul/openstack-keyring
Support storing provider passwords in a keyring instead of plain-text
2014-04-26 07:32:18 -06:00
Marek Skrobacki
524113fc4f fix pylint warnings 2014-04-26 10:21:26 +01:00
Thomas S Hatch
6129ec828d Merge pull request #12281 from terminalmage/issue12209-tests
Add tests for #12209
2014-04-25 20:35:47 -06:00
Erik Johnson
b78e558296 Remove unnecessary except 2014-04-25 18:00:04 -05:00
Erik Johnson
cb81b69abc Fix import 2014-04-25 17:58:41 -05:00
Pedro Algarvio
1a65ee6bc7 In order not to change the arguments order 2014-04-25 23:34:15 +01:00
Erik Johnson
bffb9b5d43 Add skipIf and destructiveTest
These tests must be run as root, and create and destroy a user and
group, so this adds the proper decorators.

Additionally, this wraps the assertions from these tests in a try/except
block that ensures that the temp directory created for this test is
cleaned up.
2014-04-25 17:17:34 -05:00