Pedro Algarvio
7e0b13a493
Include the filesystem cleanup options group into the parser.
2013-04-19 22:36:02 +01:00
Seth House
2facccd849
Fixed double dashes in default minion swarm names
2013-04-14 17:05:43 -06:00
Thomas S Hatch
8ac95960b3
Add name option to minionswarm so many hosts can check in
2013-04-11 15:36:28 -06:00
Denis Generalov
56f221018d
* fix bt if environment empty or absent
...
* fix tests
2013-04-10 16:24:41 +04:00
Denis Generalov
1b1a5bd743
fix unit tests
2013-04-05 18:21:33 +04:00
G.Tjebbes
60af610e3f
Ref #4361 : add some unit tests on pip's args
2013-04-03 23:41:17 +02:00
Jason R. McNeil
b4b8c191e2
Darwin (OS X) sysctl support.
...
I don't recall linux sysctl output being as messy as what I see on 10.8, so this module still needs some work I think to prevent it from choking on the odd output.
2013-04-01 00:36:38 -07:00
Thomas S Hatch
a85d1d4da1
Add extra not to file path, another test is laying it down
...
which was breaking this one
2013-03-23 14:41:27 -06:00
Colton Myers
e277154c18
Fix patch.multiple (wrong order on function defs)
2013-03-21 17:26:12 -06:00
Colton Myers
99d0a34dc2
Define patch.multiple
2013-03-21 17:21:26 -06:00
Colton Myers
d42e9d8b63
Wrap extra Mock() references
2013-03-21 17:09:16 -06:00
Colton Myers
7d6c2ffcd3
Add skipIf decorator
2013-03-21 17:00:53 -06:00
Colton Myers
357b0596e2
Fix lambda (last time?)
...
Apparently I have no idea what I'm doing.
2013-03-21 16:50:28 -06:00
Colton Myers
46f6145310
Remove trailing whitespace and fix PEP8 issues
2013-03-21 16:49:41 -06:00
Colton Myers
d3314e231b
Wrap mock import to avoid ImportErrors
2013-03-21 16:48:18 -06:00
Colton Myers
f69e305df4
Fix it so we define patch correctly
...
Must be a function that returns a function, so it works as a decorator
2013-03-21 16:46:03 -06:00
Colton Myers
50084125be
Can't use pass in lambdas
2013-03-21 16:35:34 -06:00
Colton Myers
93ef23f03c
Make sure patch is defined (otherwise the decorator complains)
2013-03-21 16:32:09 -06:00
Colton Myers
9222114c2b
Serious PEP8 and styling fixes
2013-03-21 16:22:29 -06:00
Colton Myers
adc5433174
Remove trailing whitespace and tabs
2013-03-21 16:15:26 -06:00
Colton Myers
cde87e8cd3
Wrap mock import in try-except, skip if not available
2013-03-21 16:13:53 -06:00
Jim Dalton
c774eccb1f
Skip these tests if svn is not available.
2013-03-18 15:19:35 -07:00
Jim Dalton
316a7d9d2d
Add tests for states.svn. Ensure svn.latest includes changes in return
2013-03-16 07:33:04 -07:00
Roberto Aguilar
9631a63cb6
Added show_diff kwarg to file.managed.
...
This can be set on a per-file basis so that potentially-sensitive
content can be omitted from logs.
2013-03-13 11:07:56 +00:00
Pedro Algarvio
a639b0f0e6
Merge branch 'develop' of github.com:saltstack/salt into hotfix/fix-travis-again
2013-03-13 01:32:49 +00:00
Pedro Algarvio
c0ead8b2dc
Fix a misplaced continue
on the grains matching logic which caused a traceback.
...
```
[21:18:46,004 [salt.utils.minions :200 ][ERROR ] Failed matching available minions with grain pattern: planets:saturn
Traceback (most recent call last):
File "/home/ubuntu/salt/salt/utils/minions.py", line 197, in check_minions
}[expr_form](expr)
File "/home/ubuntu/salt/salt/utils/minions.py", line 119, in _check_grain_minions
str(match.lower()),
AttributeError: 'list' object has no attribute 'lower'
```
2013-03-13 01:02:15 +00:00
Colton Myers
b473e6882f
Remove empty group tests (you can't have a user in no groups)
2013-03-12 15:19:03 -06:00
Roberto Aguilar
f3b46d7460
Fixed tabs
2013-03-12 11:20:54 -07:00
Roberto Aguilar
18ba416554
Added default runas for postgres functions.
...
On BSD the default runas user is pgsql, on other systems it's postgres.
2013-03-12 18:10:46 +00:00
Pedro Algarvio
e052116d32
Add back test_user_if_present_with_gid
.
...
Some systems have the nobody user with the nogroup instead of nobody as it's group.
2013-03-12 07:22:52 +00:00
Thomas S Hatch
4720093d66
Remove faulty test
...
Can't pass a group name in as the gid, a gid is required
2013-03-12 00:11:48 -06:00
Thomas S Hatch
dbd0b386dc
single quotes
2013-03-12 00:00:30 -06:00
Thomas S Hatch
a4ca7a5f6f
Change to a symlink that does not exist
2013-03-11 23:44:31 -06:00
Thomas S Hatch
d70ecc8387
Update doc test to -d changes
2013-03-11 23:27:18 -06:00
Pedro Algarvio
acb866762e
Fix expected comment in testcase states.pip.PipStateTest.test_pip_installed_weird_install
.
2013-03-12 04:03:12 +00:00
Thomas S Hatch
0d8574344d
stub out event fireing test until we can acertain what is wrong
...
The events are getting cleanly fired, but the test is failing....
2013-03-11 17:09:56 -06:00
Roberto Aguilar
37be12ed37
Updated environment test to use mock library.
2013-03-11 21:54:10 +00:00
Pedro Algarvio
cf75fc4ffb
Fix the sysmod
examples regular expression to accept both examples
and Examples
.
2013-03-09 16:07:19 +00:00
Jeroen Dekkers
b40242e409
Make ssh key regular expression more strict
2013-03-08 15:01:58 +01:00
Roberto Aguilar
f942ed6097
Added test for clean environment.
2013-03-02 23:04:04 -08:00
Jack Kuan
deee61c51a
Fix a regression in the stateconf renderer and updated docs.
2013-03-01 09:35:45 -05:00
Pedro Algarvio
fc44fde3e3
Improve example matching.
2013-02-17 13:23:51 +00:00
Pedro Algarvio
94455dace6
Show useful information from the failing test.
2013-02-17 12:52:36 +00:00
Pedro Algarvio
1795fbe591
Commented out test case which is failing since 209c566010
. @vlaci could you have a look please?
2013-02-17 12:05:11 +00:00
Roberto Aguilar
c0c67a7509
Added test for limit in file.sed.
2013-02-13 14:36:34 -08:00
Jack Kuan
ede7d9a762
Added doc for render time state execution and also fixed a bug with the feature.
2013-02-10 00:37:31 -05:00
Jack Kuan
fa7e327baf
Fix the merge conflicts in tests/unit/pydsl_test.py
2013-02-09 21:28:35 -05:00
Thomas S Hatch
f65626db0b
Update pydsl tests, still failing though
2013-02-09 15:07:59 -07:00
Thomas S Hatch
e63a01f853
Add docstring
2013-02-09 14:41:16 -07:00
Thomas S Hatch
ace2aade9f
Fix binary file issue from merge
2013-02-09 14:40:31 -07:00