Erik Johnson
ff6a228746
Remove reference to nonexistant function in pkg tests
...
This fixes a ref that was missed in 7984a8c
.
2014-08-27 13:52:36 -05:00
Seth House
11f4e20bd8
Fix incorrect call to state.single in npm pkgs test
2014-08-11 11:03:00 -04:00
Seth House
ed4bb5119e
Added pkgs support to the npm module/state
2014-08-07 12:36:39 -04:00
rallytime
6be33dcdc9
Change install package to help Arch tests pass
2014-08-05 14:35:32 -06:00
C. R. Oldham
253de7a995
PyLint fix.
2014-07-25 12:48:07 -06:00
C. R. Oldham
f53e477735
Merge commit, resolve conflict
2014-07-25 11:16:22 -06:00
C. R. Oldham
c94808689d
Extend dot-in-pkg test to RHEL 5 as well
2014-07-25 10:57:18 -06:00
Thomas S Hatch
288e9bba29
TABS?!?!? Really @cro ??
2014-07-25 10:39:19 -06:00
C. R. Oldham
b6f70ac80f
Make this test check for diff packages on RHEL/Centos 6 vs 7
2014-07-24 19:09:52 -04:00
Erik Johnson
2939eaec15
Clean up filehandle usage in file state tests
...
This does a few things:
1. Change calls to open() to use salt.utils.fopen()
2. Use with blocks where applicable
2014-07-14 21:23:06 -05:00
Erik Johnson
f847bae5a2
Add tests for templating local files
2014-07-14 21:23:06 -05:00
Mike Place
a08849c270
Remove old-style env= tests.
2014-07-14 11:03:03 -06:00
Pedro Algarvio
5283fa661e
Adapt tests to behaviour introduced in #13333
2014-06-10 03:00:19 +01:00
Pedro Algarvio
0b6776ad81
Maintain old test behaviour(no new lines added)
2014-06-10 02:32:22 +01:00
Pedro Algarvio
df3e06ddd7
Test needs root perms
2014-06-10 01:56:24 +01:00
Pedro Algarvio
c6aa49c325
Fix PEP8 E713 - test for membership should be "not in"
2014-06-06 11:26:40 +01:00
Pedro Algarvio
7bd8b1360f
Remove remaining exsel
code
2014-05-29 01:32:54 +01:00
Thomas S Hatch
b20462ad3f
Merge pull request #13037 from terminalmage/npm-test
...
add test for npm.installed/removed
2014-05-27 10:11:27 -06:00
Pedro Algarvio
4d7ca91424
Remove unnecessary
©️ and :license:
from file headers
2014-05-26 19:26:15 +01:00
Erik Johnson
da0546c6f4
add test for npm.installed/removed
2014-05-26 06:19:49 -05:00
Pedro Algarvio
5a8575dbb9
The helper method is now released
2014-05-20 10:53:47 +01:00
Pedro Algarvio
e096df9016
Replace string substitution with string formatting
2014-05-01 13:29:38 +01: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
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
Erik Johnson
d9fa7c5203
Use new decorators for issue 12209 tests
2014-04-25 17:17:34 -05:00
Erik Johnson
8574d9a19e
Use custom user/group for integration tests for #12209
...
Not all platforms have a "nobody" user, this commit changes these tests
to use a "test12209" user/group for these tests.
2014-04-25 17:17:34 -05:00
Erik Johnson
f73a193c6b
Add tests for #12209
2014-04-25 17:17:33 -05:00
Erik Johnson
ad53983a16
Fix refs to with_system_account decorator
...
This renames this decorator to with_system_user, to go along with
changes in https://github.com/saltstack/salt-testing/pull/14 .
2014-04-25 14:03:41 -05:00
Mike Place
637c372aae
Fix bug with mod_watch in supervisor modules
...
* Also adds __virtual__ support to supervisord exec module
* Closes #6692
Remove uneeded module.
Don't run supervisord tests without supervisord
Fix state test.
Pulled in an old pylint breakage.
Conflicts:
salt/modules/saltutil.py
2014-04-23 16:14:12 -06:00
Mike Place
9ac6e8e150
Remove test.
...
Also pass makedirs correctly.
2014-04-21 10:30:27 -06:00
Mike Place
f717aa6004
Write test for ownership of file.managed with makedirs=True
2014-04-17 15:36:08 -06:00
Thomas S Hatch
09769d6fa2
lint tests
2014-04-02 11:16:24 -06:00
Pedro Algarvio
6f1337b4c8
Remove extra white-space
2014-03-29 13:20:47 +00:00
Pedro Algarvio
596b38e494
Provide env
to templates.
...
Map `env` to the same value of `saltenv` in the templating context until
`env` is fully deprecated in favor of `saltenv`.
Fixes #11480 .
2014-03-29 13:03:36 +00:00
Thomas S Hatch
43de620730
Merge pull request #11413 from s0undt3ch/hotfix/immutable-lists-sum
...
Simpler immutable types
2014-03-21 11:40:09 -06:00
C. R. Oldham
6c60f17751
Add two tests for checking file permissions when file is already existing
2014-03-17 14:25:17 -06:00
Erik Johnson
37bf8ee768
Change package used for opensuse integration pkg tests
2014-03-14 11:50:32 -05:00
Colton Myers
ea800935d7
Switch git clones to saltstack/salt-test-repo (super small repo)
...
Was previously cloning bootstrap a few times, and our salt repo once
(which is a large repo). Should speed up the git tests substantially.
2014-03-14 09:45:17 -06:00
Pedro Algarvio
2f3d7bd6cc
Merge branch 'develop' of github.com:saltstack/salt into hotfix/immutable-lists-sum
2014-03-13 16:03:50 +00:00
Mathieu Le Marec - Pasquet
ab0b465d3e
Yet another fix for ImmutableProxyList
...
This is related to #11088 , #11035 , #11003 , #11190 .
2014-03-13 10:53:55 +01:00
Pedro Algarvio
e1c33dcad6
Revert "Stop running the test while it's failing"
...
This reverts commit a084303c91
.
2014-03-12 21:52:08 +00:00
Pedro Algarvio
a084303c91
Stop running the test while it's failing
2014-03-10 23:52:38 +00:00
Pedro Algarvio
fd1bab0d8d
Add test case which triggers #11003 .
2014-03-10 17:47:22 +00:00
Erik Johnson
98bcd26139
Fix pkg test with dots in filename
...
The package here is much smaller and should install quicker than the old
one.
2014-02-11 11:22:34 -06:00
Thomas S Hatch
8ce74e0378
disable dot test, need to find another package
2014-02-11 09:41:10 -07:00
Pedro Algarvio
3fceb028eb
Ignore and remove unused imports
2014-02-08 07:46:50 +00:00
Pedro Algarvio
fd306ea0b0
We need a bigger timeout, salt's repo is pretty big now.
2014-02-08 03:07:30 +00:00
Pedro Algarvio
b66418e263
Provide tests cases for #10197 and #10198
2014-02-05 21:56:08 +00:00
Thomas S Hatch
94a6b01522
Merge pull request #10011 from makinacorpus/fix10010
...
display full jinja traceback when applicable
2014-01-29 07:41:29 -08:00