Pedro Algarvio
c4e96207cb
runas
needs root permissions.
2013-04-27 21:06:13 +01:00
Thomas S Hatch
cebdf76f2e
Fix publish tests
2013-04-27 12:59:34 -06:00
Pedro Algarvio
abd2dc23f1
Handle publish tests a little better. Still not fixed though.
2013-04-25 20:58:54 +01:00
Pedro Algarvio
7eed841ba6
Fix the salt.modules.hosts
tests and even test if order is preserved when writing the new file.
2013-04-23 12:56:23 +01:00
Pedro Algarvio
eeda1698ff
Simplify and fix tests for salt.modules.hosts
.
2013-04-23 12:56:23 +01:00
Pedro Algarvio
b36747b084
pkg.expand_repo_def
is allowed to fail on the sysmod integration tests.
2013-04-22 22:40:15 +01:00
Denis Generalov
56f221018d
* fix bt if environment empty or absent
...
* fix tests
2013-04-10 16:24:41 +04: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
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
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
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
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
Thomas S Hatch
f65626db0b
Update pydsl tests, still failing though
2013-02-09 15:07:59 -07:00
Thomas S Hatch
68b5d29ea6
Get tests runnign until pydsl migration is complete
2013-02-08 13:21:35 -07:00
Thomas S Hatch
3719982399
stub out another event test that needs refinement
2013-02-08 13:14:45 -07:00
Thomas S Hatch
107b97e952
Add test to verify loader modules
2013-02-08 11:14:22 -07:00
Thomas S Hatch
3d006ddd1c
Stub out unreliable event test until it can be stabalized
2013-02-08 11:07:40 -07:00
Colton Myers
bae02c930e
Add None checks for eventfired in event.py
2013-02-07 17:51:32 -07:00
Thomas S Hatch
8fb36351b3
remove unused import
2013-02-07 17:38:36 -07:00
Colton Myers
37b025490b
Fix indent style issue
2013-02-07 17:31:10 -07:00
Colton Myers
53f1c86013
Add pip.py test for upgrading packages
2013-02-07 17:31:10 -07:00
Thomas S Hatch
4ec6722103
revert cmd_yaml change that broke basic functionality
2013-02-06 13:03:34 -07:00
Thomas S Hatch
47e08fc4fa
Remove failing test, I am not sure how it ever passed...
2013-02-06 12:48:33 -07:00
Denis Generalov
9325ec7bba
Try to make some tests for sysctl module
2013-02-06 00:57:53 +04:00
Thomas S Hatch
4c95f0e0ea
fix #3449
2013-01-25 21:16:11 -07:00
Pedro Algarvio
eb38c4de5f
Fix supervisor test.
2013-01-23 23:23:05 +00:00
Pedro Algarvio
34522907e8
One more grain.item
fix to comply with new dict output.
2013-01-23 23:00:19 +00:00
Pedro Algarvio
0207416f3c
Conform with the dict return type for 'salt.modules.grains.item'.
2013-01-23 22:51:45 +00:00
Thomas S Hatch
bbad93c386
Add skipif to a test that requires root
2013-01-17 13:29:49 -07:00
Pedro Algarvio
0bf51ba5b0
Allow a test to specify it's own run_function
timeout. Increase timeout for some tests.
2013-01-14 14:07:58 +00:00
Ryan Schneider
8f8cc74b34
Some minor cleanup of unit and integration tests.
2012-12-18 17:39:16 -08:00
Ramón Cahenzli
a30f2ee244
This root or that root? :)
2012-12-11 16:37:30 +01: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
Pedro Algarvio
871516b4cf
Migrated test.integration.modules.state
to use SaltReturnAssertsMixIn
.
2012-12-07 18:44:06 +00:00
Pedro Algarvio
6c37923226
Remove extra space.
2012-11-30 17:33:20 +00:00
Pedro Algarvio
db344ea342
Fix integration.modules.django.DjangoModuleTest.test_collectstatic()
, PEP-8. Refs #2729 .
2012-11-30 17:13:12 +00:00
Johannes Martinsson
e1bc7f2b5a
Make remove in the file module also remove broken symlinks
...
The remove command in the file module had guard, `os.path.exists`, in
front of all remove actions. That guard failed on broken symlinks, i.e.
it returned `false` even though the broken symlink existed. Since the
remove actions are properly guarded without the `os.path.exists` guard,
this commits removes it. Now the remove command will also remove broken
symlinks.
2012-11-22 12:22:04 +01:00
Pedro Algarvio
863bc7ef37
Add missing import.
2012-11-18 19:06:17 +00:00
Pedro Algarvio
c5fe83272f
Even more open()
to salt.utils.fopen()
.
2012-11-18 18:57:10 +00:00
Ryan Schneider
2ccf589425
Refactor: make_dirs -> makedirs, gzip_compression -> gzip
2012-11-14 18:06:53 -08:00