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
66daa60d75
Merge pull request #6976 from malinoff/fixed-range-syntax
...
Fixed range syntax
2013-08-31 19:49:41 -07: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
=
3fdfe9120f
Replaced range(len(collection)) with enumerate(collection)
2013-08-31 13:38:42 +07:00
Pedro Algarvio
7cdddf8bf8
Fix unit.log_test.TestLog.test_issue_2853_regex_TypeError
to import the proper(renamed) logging module.
2013-08-30 19:32:39 +00:00
Pedro Algarvio
598fc60e3c
Fix unit.log_test.TestLog.test_issue_2853_regex_TypeError
by importing salt's logging from the proper module.
2013-08-30 19:32:39 +00: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
Pedro Algarvio
51a01ef79b
Added mocked pip installation test-case for when pip's version is <=1.1
2013-08-29 10:57:50 +00:00
Pedro Algarvio
93c034e4ca
Merge pull request #6949 from ranl/hosts
...
fix hosts file error in Travis
2013-08-29 02:55:54 -07:00
ranl
f42961081d
fixing 61573b1394 (commitcomment-3967806)
2013-08-29 11:50:20 +03:00
Pedro Algarvio
25a72358ab
Skip this test until properly mocked.
2013-08-28 15:21:29 +00:00
Pedro Algarvio
57feb4a015
One more missing import
2013-08-28 15:21:29 +00:00
Pedro Algarvio
5ea856c104
Fix missing import
2013-08-28 15:21:29 +00: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
456360dc32
Fix test expected output plus an additional one for pip git install.
2013-08-26 17:05:47 +00:00
Pedro Algarvio
6e694791fb
Allow tests to be properly skipped if mock
is not installed.
2013-08-26 17:05:44 +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
5d26a9fd4b
Adapted unit.states.rvm_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
23fa44ff58
Adapted unit.states.pip_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
8f44dec13e
Adapted unit.states.gem_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
ef29861ff3
Adapted unit.states.file_test
to use salttesting.mock
2013-08-26 13:03:07 +00:00
Pedro Algarvio
2eab51a429
Adapted unit.utils.warnings_test
to use salttesting.mock
2013-08-26 13:03:04 +00:00
Pedro Algarvio
296c83be1f
Adapted unit.pillar_test
to use salttesting.mock
2013-08-26 13:01:02 +00:00
Pedro Algarvio
91fa38aea2
Adapted unit.payload_test
to use salttesting.mock
2013-08-26 13:00:10 +00:00
Pedro Algarvio
d33415c73a
Adapted unit.modules.rvm_test
to use salttesting.mock
2013-08-26 13:00:10 +00:00
Pedro Algarvio
220aa48e24
Adapted unit.modules.poptgres_test
to use salttesting.mock
2013-08-26 13:00:10 +00:00
Pedro Algarvio
6bc17f0c1b
Adapted unit.modules.pip_test
to use salttesting.mock
2013-08-26 13:00:10 +00:00
Pedro Algarvio
64d20afec9
Adapted unit.modules.gem_test
to use salttesting.mock
2013-08-26 13:00:10 +00:00
Pedro Algarvio
2acd67bc59
Adapted unit.modules.archive_test
to use salttesting.mock
2013-08-26 13:00:07 +00:00
Pedro Algarvio
8646fcb012
Adapted unit.modules.win_status_test
to use salttesting.mock
2013-08-26 12:59:15 +00:00
Pedro Algarvio
fe0d7dc048
Adapted unit.modules.alternatives_test
to use salttesting.mock
2013-08-26 12:59:12 +00:00
Pedro Algarvio
371f08a959
Adapted unit.modules.virtualenv
to use salttesting.mock
2013-08-26 12:58:04 +00:00
Pedro Algarvio
5075898935
No absolute imports.
2013-08-22 21:45:45 +01:00
Pedro Algarvio
52b8da5d13
Adapt to the output when installing a package from a compressed file.
2013-08-22 21:06:06 +01:00
Pedro Algarvio
c78738b87a
Adapt test results to the expected output.
2013-08-22 19:02:32 +01:00
Pedro Algarvio
df8bdf8646
By forcing absolute imports, we don't have to rename the pip state module.
2013-08-22 19:02:18 +01:00
Pedro Algarvio
aea94fd6a2
Another example test case.
2013-08-22 19:02:18 +01:00
Pedro Algarvio
e70827371f
Some more requirements parsing tests
2013-08-22 19:02:18 +01:00
Pedro Algarvio
58ad040872
Use pip.req
for parsing package requirements. Minimal tests.
2013-08-22 19:02:17 +01: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