Commit Graph

735 Commits

Author SHA1 Message Date
Pedro Algarvio
2bdddf2713 33cdd9e remove one of the checks, re-add it. 2013-09-08 12:07:27 +01:00
Pedro Algarvio
071917369f Adapt the test case to saltstack/salt@70b26f30b. Refs #4822 2013-09-05 23:35:36 +01:00
Pedro Algarvio
a3a8707d4a Create temporary directories first. 2013-09-05 23:32:48 +01:00
Pedro Algarvio
53abda36da Enforce integration.TMP usage. 2013-09-05 23:17:23 +01:00
Pedro Algarvio
3a569461b6 Since ssh.recv_known_host is now known to return None let's assert it's not None. 2013-09-05 23:13:13 +01:00
Pedro Algarvio
ba096cdedf ssh.recv_known_host is known to return None, should be flagged as such. 2013-09-05 23:06:41 +01:00
Pedro Algarvio
a55bc65f66 Check separately, the order can change. 2013-09-05 07:54:03 +01:00
David Boucha
22a2bf6e04 Merge pull request #7060 from s0undt3ch/develop
Suse user tests fixes
2013-09-04 20:57:17 -07:00
Pedro Algarvio
111171065f Suse based distributions(at least) complain when a username or group starts with digits. 2013-09-05 04:50:51 +01:00
Pedro Algarvio
2c6bfcedb7 Make use of the requires_system_grains decorator 2013-09-05 04:43:39 +01:00
Pedro Algarvio
1a2e9be5d4 Adapt test case to Suse based distributions. 2013-09-05 04:39:54 +01:00
David Boucha
5b76394850 Check for each service status individually
In case they self report out of order
2013-09-04 21:37:26 -06:00
Thomas S Hatch
5c270dbd92 Merge pull request #7056 from s0undt3ch/develop
Fix unwanted TRACE level messages
2013-09-04 19:37:34 -07:00
Pedro Algarvio
a685a05a0c Fix the salt CLI tools version check test case 2013-09-05 03:34:12 +01:00
David Boucha
3f1498364d Test service status separately
Sometimes the 2 services return in different orders so we'll test for
each one separately
2013-09-04 15:40:50 -06:00
Pedro Algarvio
6d446ffa56 Use the requires_system_grains decorator from salt-testing 2013-09-04 20:05:41 +01:00
Pedro Algarvio
38bfa49e53 SuSE based distributions get the gid from users not the gid from it's name. Fixes #7003.
Full explanation about why is this can be seen here:

  https://github.com/saltstack/salt/issues/7003#issuecomment-23813071
2013-09-04 19:41:20 +01:00
David Boucha
1a216bf08c remove commented out code 2013-09-03 11:39:21 -06:00
David Boucha
fa489634a5 check for multiple strings in the test 2013-09-03 11:37:46 -06:00
David Boucha
6fd2146239 split those strings on their path 2013-09-03 00:53:10 -06:00
David Boucha
2dc500d1d7 remove trailing space 2013-09-01 23:40:39 -06:00
Pedro Algarvio
7e57813243 Always remove the users/groups added to the system 2013-09-02 05:51:29 +01:00
Pedro Algarvio
8d29140cdc Test user/group creation/deletion under FreeBSD 2013-09-02 05:50:06 +01:00
Thomas S Hatch
5ec6539ce5 Merge pull request #6967 from s0undt3ch/hotfix/tests-config-files
Adapt tests configuration to the running user.
2013-08-31 19:37:20 -07:00
Pedro Algarvio
9eac31d6dd Use proper pip mirrors in integration.states.virtualenv.VirtualenvTest.test_issue_2594_non_invalidated_cache 2013-08-30 19:32:39 +00:00
Pedro Algarvio
d7c9db70e2 Adapt tests configuration to the running user.
Since salt's cli tools now try to change the user to the configured one, when running the tests suite as non-root, we need to adapt the user setting on the configuration files.
2013-08-30 17:25:28 +00:00
Pedro Algarvio
20c45fbb6d Updated test case to install from a requirements file. 2013-08-29 20:21:23 +00:00
Pedro Algarvio
610c30f359 pip.installed ownership testcase using user instead of runas. Refs #6912. 2013-08-29 17:30:27 +00:00
Pedro Algarvio
a38077248f Verify proper owner for pip.installed. Refs #6912
Added test case which verifies that the owner of the `pip.installed` package is the one provided by `runas`.
2013-08-29 17:30:27 +00:00
ranl
f42961081d fixing 61573b1394 (commitcomment-3967806) 2013-08-29 11:50:20 +03: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
57a69f1ff8 Adapted integration.modules.django to use salttesting.mock 2013-08-26 13:03:08 +00:00
Pedro Algarvio
6d06e12e22 Adapted integration.modules.cmdmod to use salttesting.mock 2013-08-26 13:03:08 +00:00
Pedro Algarvio
1a12829637 Switched arguments in SaltReturnAssertsMixIn.assertInSaltReturn() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
2c09600ea4 Switched arguments in SaltReturnAssertsMixIn.assertNotInSaltReturn() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
ae5d9f5038 Switched arguments in SaltReturnAssertsMixIn.assertNotInSaltComment() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
b880af89e1 Switched arguments in SaltReturnAssertsMixIn.assertInSaltComment() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
9353dcafd3 Revert "salt.modules.cmdmod renamed to salt.modules.cmd while enforcing absolute imports."
This reverts commit 3fa341280b.
2013-08-20 23:44:03 +01:00
Pedro Algarvio
d598a8074e Revert "Renamed djangomod module and state to django while enforcing absolute imports."
This reverts commit 2f4d82b295.
2013-08-20 23:43:56 +01:00
Pedro Algarvio
2f4d82b295 Renamed djangomod module and state to django while enforcing absolute imports. 2013-08-19 16:13:38 +01:00
Pedro Algarvio
3fa341280b salt.modules.cmdmod renamed to salt.modules.cmd while enforcing absolute imports. 2013-08-19 13:45:56 +01:00
Pedro Algarvio
2f750ed06c Allow network related tests to be skipped if no network is available. Fixes #6710. 2013-08-16 02:02:37 +01:00
Erik Johnson
945c3a22c8 allow cp.recv to fail integration.modules.sysmod.SysModuleTest 2013-08-14 20:29:31 -05:00
Erik Johnson
176ab16f40 adjust "CLI Example" test 2013-08-14 20:17:39 -05:00
Pedro Algarvio
1068406ca5 Fixed integration.states.pip.PipStateTest.test_pip_installed_errors error regex.
It was failing to match on FreeBSD.
2013-08-14 12:29:34 +01:00
Pedro Algarvio
a1cd0ef29d Show what the salt function returned in case of assertion errors. 2013-08-14 00:35:58 +01:00
Pedro Algarvio
90d375d14e If SHELL is not in the environ, the error message is different. 2013-08-13 14:17:41 +01:00
Thomas S Hatch
bb45a8b9f2 sleep longer for grains test if first return is bad 2013-08-13 00:35:55 -06:00
Thomas S Hatch
33cdd9e760 Don't fail on valid order change 2013-08-13 00:32:32 -06:00
Thomas S Hatch
53f7227fdd Add freebsd to grp covered platforms 2013-08-13 00:27:14 -06:00