regilero
7b01991c0a
require recursion and still not done prereq recursion
2013-11-23 18:20:15 +01:00
regilero
a99cd0eafd
Use requisite
2013-11-23 17:26:37 +01:00
regilero
6a7d35bc59
commented test for issue #8211 complex prepreq
2013-11-23 16:59:10 +01:00
regilero
e4c68d1a94
small typo
2013-11-23 16:47:10 +01:00
regilero
ceb5963094
Prereq and prerequ_in tests
2013-11-23 16:39:19 +01:00
regilero
407533dfa5
require and require_in tests
2013-11-23 16:37:57 +01:00
Jeffrey C. Ollie
b1fb52a680
fix more funcion => function typos
2013-11-15 14:50:17 -06:00
Pedro Algarvio
56129e3610
Include the holy
directory for the __env__
selection test cases.
2013-11-06 20:04:54 +00:00
Pedro Algarvio
0a03ecc6bc
Add required state file.
2013-11-06 20:04:10 +00:00
Pedro Algarvio
e334e232d1
Forgot to add the top file.
2013-11-06 20:04:10 +00:00
Pedro Algarvio
ec76b188b1
Correctly trigger the issue reported on #8196 .
2013-11-06 20:03:44 +00:00
Pedro Algarvio
2924f1c14a
Add a test case to check for proper env selection when passing ?env=foo
. Refs #8196 .
2013-11-06 20:03:44 +00:00
regilero
089787cead
Integration tests for #8174 , #7905 & #8114 : sls syntax errors
2013-10-31 14:30:25 +01:00
Pedro Algarvio
4b46ee5017
Remove unnecessary imports.
2013-10-26 18:59:44 +01:00
Pedro Algarvio
ce553415cc
Provide test case to prove proper loader function override. Refs #8096 .
2013-10-26 18:06:28 +01:00
C. R. Oldham
66e3be46d1
Make sure multiple names clauses retain same order
2013-10-18 14:57:48 -06:00
Pedro Algarvio
e18ba0758b
Don't include authorship in generated documentation, the Sphinx way.
2013-09-16 17:24:00 +01:00
Pedro Algarvio
5c3a406e17
Let us not use a deprecated option ourselves unless for testing the deprecation.
2013-07-13 19:55:50 +01:00
Pedro Algarvio
a886eaa03d
Add a state integration test case for #5940 .
2013-07-05 23:00:14 +01:00
Thomas S Hatch
ec2ab4d5d3
Fix up tests for decorators
2013-06-20 11:21:56 -06:00
Thomas S Hatch
17f292a21a
Add ignores for loaded depends modules
...
@jacksont, just fyi, we check the loaded modules for docstrings
2013-06-18 16:38:42 -06:00
Thomas Jackson
3016999c04
Adding "Depends" decorator to salt.utils
...
The Depends decorator allows you to optionally remove functions if sepecific globals/modules don't exist. This is particuarly helpful in larger scale deployments where some functions of the module work everywhere, but others require (for example) a service to be installed. This way you can avoid having to try/except all over the module to only load certain functions etc.
2013-06-14 15:17:06 -07:00
Thomas S Hatch
815cb47a36
Add sls that will fail to parse
2013-06-10 23:00:02 -06:00
Thomas S Hatch
1bcca1aae3
Add a generic failing sls for tests
2013-06-10 18:42:54 -06:00
Ollie Walsh
1eca34f8e6
Give supervisor a little time to startup during tests
2013-05-29 11:39:09 +01:00
Ollie Walsh
4948914766
Add missing test file
2013-05-29 00:47:25 +01:00
Thomas S Hatch
6b01c8380d
Add pydsl runtime test per #5055
2013-05-18 22:51:53 +00:00
Pedro Algarvio
7c5a5d0bd3
Header updates. More copyright to the SaltSatck team. Code author to me(where applicable).
2012-12-11 10:23:37 +00:00
Ryan Schneider
c638617612
Add gzip_compression support to cp.get_file
2012-11-08 16:09:38 -08:00
Thomas S Hatch
ec901ce29c
Merge pull request #2463 from s0undt3ch/issues/2462
...
Fix #2462
2012-11-07 08:12:49 -08:00
Ryan Schneider
721bce0a11
Fixed integration test
2012-11-06 19:36:51 -08:00
Pedro Algarvio
e04c872c66
Convert the remaining tests hard-coding temporary paths.
2012-11-06 12:44:53 +00:00
Pedro Algarvio
e2168602fb
Allow passing multiple path elements to construct a path.
2012-11-06 12:15:24 +00:00
Pedro Algarvio
bb6cb62901
Switched runtests_helpers.get_temp_dir_for_path
to runtests_helpers.get_salt_temp_dir_for_path
.
2012-11-06 11:32:48 +00:00
Pedro Algarvio
75644992e2
Don't hard-code temporary paths on tests. Refs #2462 .
2012-11-06 11:20:06 +00:00
Pedro Algarvio
33fa855bc4
We're apparently unable to have an empty last line in yaml literal strings.
2012-11-04 11:46:00 +00:00
Pedro Algarvio
5af62d01ac
Fix integration.modules.state.StateModuleTest.test_issue_1896_file_append_source
and still maintaining an empty line check.
2012-11-04 11:35:23 +00:00
Daniel Miller
1957700161
Add "file.patch" state function
2012-10-18 12:23:47 -04:00
Daniel Miller
3a68a85a9b
Add "file.patch" module function
2012-10-18 12:20:39 -04:00
Pedro Algarvio
6533c48014
Just some renames. Refs #2227 .
2012-10-12 11:53:40 +01:00
Pedro Algarvio
ae7e476bfc
Handle some quoting issues while building the whitespace regex for file.append
. Fixes #2227 .
2012-10-12 11:45:27 +01:00
Pedro Algarvio
174ee8aab8
Fix #2167 . Testcases included.
2012-10-06 01:05:04 +01:00
Pedro Algarvio
624fb03d9c
Smaller requirements.txt also works for testing.
2012-10-01 10:21:40 +01:00
Pedro Algarvio
064b3a60c2
Add test case for #1959 .
2012-09-30 12:20:38 +01:00
Pedro Algarvio
b28a80fab0
Minor whitespace formatting 'prettyfication'.
2012-09-28 17:44:35 +01:00
Pedro Algarvio
677a08fe7d
Update the test cases which better expose #2068 .
2012-09-28 16:04:38 +01:00
Pedro Algarvio
cc10ed1906
Add include and exclude test cases. Refs #2068 .
2012-09-28 01:17:37 +01:00
Pedro Algarvio
33aa55f905
Use a PyPI mirror for installing packages. Fixes #2098 .
...
For now we're using `http://testpypi.python.org/pypi ` as the mirror.
2012-09-27 11:55:00 +01:00
Pedro Algarvio
41f0f4449e
Address pip.installed
regarding weird packages setup. Fixes #2028 .
...
Some packages, carbon and graphite-web for example, install their packages to a specific root, using a `virtualenv` or not. `pip freeze` won't show those packages as installed.
2012-09-25 12:24:54 +01:00
Pedro Algarvio
5b9c6f92ce
Issue #2028 fixes and improvements.
...
* `salt.states.pip.installed()` now keeps a reference to the output of the `__salt__['pip.install']()` call. The reason for this is that we need to know and pass along any information about an eventual error when running that call. This is now done in addition to the old behaviour.
* Add some tests which triggered the issue.
2012-09-23 17:25:21 +01:00