Pedro Algarvio
671787d8cb
Updated integration.states.compiler
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:02 +01:00
Pedro Algarvio
34ccae8c46
Updated integration.states.cmd
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:02 +01:00
Pedro Algarvio
5a64ba438e
Updated integration.shell.syndic
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:02 +01:00
Pedro Algarvio
63caaf8c6e
Updated integration.shell.runner
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:02 +01:00
Pedro Algarvio
66b6acd0e0
Updated integration.shell.matcher
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:02 +01:00
Pedro Algarvio
331dc6d936
Updated integration.shell.minion
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:02 +01:00
Pedro Algarvio
067f45f6ab
Updated integration.shell.master
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
dfa110d5cc
Updated integration.shell.key
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
495f8f0440
Updated integration.shell.cp
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
4c014ef284
Updated integration.shell.call
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
2aa572dda6
Updated integration.runners.state
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
7747ef4f1b
Updated integration.runners.manage
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
16451948a8
Updated integration.runners.jobs
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
d0aff7934d
Updated integration.modules.virtualenv
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
1a505cd703
Updated integration.modules.useradd
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
f69373a277
Updated integration.modules.test
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
738447d0a9
Updated integration.modules.sysmod
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
5fa18d41ec
Updated integration.modules.sysctl
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:01 +01:00
Pedro Algarvio
de41ca3136
Updated integration.modules.supervisord
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
b46bef99b9
Updated integration.modules.state
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
2c30133404
Updated integration.modules.ssh
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
4cdf6ae255
Updated integration.modules.rabbitmq
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
a3fbe47c9f
Updated integration.modules.pw_user
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
501cb0da31
Updated integration.modules.publish
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
863092af60
Updated integration.modules.pillar
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
c780c8b198
Updated integration.modules.mine
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
abc3ed115c
Updated integration.modules.hosts
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
b340166ea6
Updated integration.modules.grains
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
59bdfc532c
Updated integration.modules.file
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
cdb5828874
Updated integration.modules.event
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:00 +01:00
Pedro Algarvio
b920ded0b4
Updated integration.modules.django
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
d401041a8d
Updated integration.modules.disk
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
d62211f734
Updated integration.modules.decorators
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
423976e5d5
Updated integration.modules.data
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
de4345cf20
Updated integration.modules.cp
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
3f264ae987
Updated integration.modules.config
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
18af333312
Updated integration.modules.cmdmod
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
a3ac939f44
Updated integration.modules.aliases
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
b53da85646
Updated integration.client.syndic
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
f02494002b
Updated integration.client.standard
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
7945cbcd6e
Updated integration.client.kwarg
to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
2097684c0a
Minor formating changes.
2013-06-28 00:12:59 +01:00
Pedro Algarvio
cb0922faf7
Updated some of the test cases to use a much more readable approach using salttesting.helpers.ensure_in_syspath()
.
2013-06-28 00:12:59 +01:00
Pedro Algarvio
007545eb70
Fix NameError
2013-06-28 00:12:58 +01:00
Pedro Algarvio
8cd0316b62
Heh! Salt! Not Salt Cloud!
2013-06-28 00:12:58 +01:00
Pedro Algarvio
a21b6e10a5
We don't want the tests in the coverage report.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
819e523c2b
Use the defined SALT_ROOT
as the source parameter for the coverage call.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
e772f0d8b6
Re-use salt-testing mixin.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
77e108a281
Removed duplicate variables moved some others.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
b17bc305c8
Reuse salt-testing shell test case.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
7990165e26
Remove debug logic to test coverage.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
3033e0002b
Let's make use of salt-testing code coverage testing option parser.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
1473a0a3b6
Make use of the SaltTestcaseParser
added to salt-testing.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
9cd7efb0dc
Only update sys.path
once.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
6dfe563ce1
Added support for __main__
execution.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
d245b17412
Added support for __main__
execution and formatting fixes.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
be6814fe52
Added support for __main__
execution and formatting fixes.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
2453535d9f
Added support for __main__
execution and formatting fixes.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
b0d9cf18c2
Added support for __main__
execution and formatting fixes.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
663f54ef9f
Update copyright years of changed files. Added __main__
execution to tests/integration/states/pip.py
.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
0a9f157262
Update sys.path
before import salt. This way salt does not need to be installed.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
222be7b446
Make sure every test module is runnable by __main__
.
...
* Double to single quotes
2013-06-28 00:12:56 +01:00
Pedro Algarvio
be54a503d9
Adapted code fix sys.path
in case called from __main__
. Adapted to salt-testing.
2013-06-28 00:12:56 +01:00
Pedro Algarvio
860f74847e
Remove the now unnecessary saltunittest
. Moved remaining functionality to integration
.
2013-06-28 00:12:56 +01:00
Pedro Algarvio
d4fd1baa2f
Adapted the tests suite to work with salt-testing
2013-06-28 00:12:56 +01:00
Pedro Algarvio
576a5a4b78
Some more sysmod
testing improvements.
2013-06-27 23:15:36 +01:00
Pedro Algarvio
276858d619
Improve sys.list_functions
tests.
2013-06-27 23:00:55 +01:00
ZHANG Cheng
c86564abb1
Fix typo
2013-06-22 23:31:37 +08:00
Thomas S Hatch
3e3cb44acf
Merge pull request #5651 from s0undt3ch/issues/5639-hosts
...
Single entry per line in the hosts file. Fixes #5639
2013-06-20 11:08:36 -07:00
Pedro Algarvio
4040d83d79
Single entry per line in the hosts file. Fixes #5639
2013-06-20 18:29:21 +01:00
Thomas S Hatch
e2d7f21034
@jacksont, please take a look at these, they are failing sometimes
2013-06-20 11:22:59 -06:00
Thomas S Hatch
ec2ab4d5d3
Fix up tests for decorators
2013-06-20 11:21:56 -06:00
Thomas S Hatch
3e7be2bfb4
Add os import to grains tests
2013-06-19 22:45:26 -06:00
Thomas S Hatch
e037283488
Ignore the grains setval test in travis because travis can't keep up
2013-06-19 22:28:53 -06:00
Thomas S Hatch
e30ce41d7a
we are far enough removed to not need to test version deps here
2013-06-19 12:43:27 -06:00
Thomas S Hatch
86afd5356c
disable faulty djangomod test
2013-06-19 00:35:08 -06:00
Thomas S Hatch
e59a646afa
Need to find a way to only bump this up on travis....
2013-06-19 00:32:08 -06:00
Thomas S Hatch
982df86d6b
disable svn tests
...
These tests are causing problems since the svn repos are not always
returning the same data
2013-06-19 00:24:16 -06:00
Thomas S Hatch
862112c5a6
Fix error created by yaml changes
2013-06-18 23:51:44 -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 S Hatch
e0c10755b9
Some cleaning of quotes and prints
2013-06-18 16:11:36 -06:00
Thomas S Hatch
86db665d2d
kill the print
2013-06-18 15:45:50 -06:00
Thomas S Hatch
535d0a00e3
Finish #5585
2013-06-17 13:05:08 -06:00
ZHANG Cheng
c8aee0451d
Make it possible to run a single unit test
2013-06-17 23:38:13 +08:00
Filip Noetzel
f40c2c5204
Fix django tests
2013-06-17 15:49:15 +02: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
f5d4f31952
Doh! node
2013-06-11 16:39:48 -06:00
Thomas S Hatch
fe23e66ce5
Update eventlisten script with sock_dir changes
2013-06-11 16:37:16 -06:00
Thomas S Hatch
36bf8122e9
Merge branch 'timeout-for-run-command' of git://github.com/hulu/salt into hulu-timeout-for-run-command
...
Conflicts:
salt/states/cmd.py
2013-06-11 16:30:41 -06:00
Andrew Noyes
c6fd91a8a8
Add timeout to salt.state.cmd.* functions
...
Add ability to specify timeouts for arbitrary commands.
If timeout is reached, subprocess is sent sigterm, and later sigkill
if it still exists. Issue #5322
2013-06-11 11:41:42 -07:00
Thomas S Hatch
6ae08e504f
Merge pull request #5479 from cfra/directory-clean
...
Improve file.directory for clean=True
2013-06-11 09:46:06 -07:00
Thomas S Hatch
2218dd95a5
Add parse req failure state
2013-06-10 23:00:48 -06:00
Thomas S Hatch
dad4b18c93
Add overstate to check parse failures in requisites
2013-06-10 23:00:22 -06:00
Thomas S Hatch
815cb47a36
Add sls that will fail to parse
2013-06-10 23:00:02 -06:00
Thomas S Hatch
9752b21343
Add tests for overstate requisites
2013-06-10 18:42:54 -06:00
Thomas S Hatch
e228768961
Add overstate to test requisites
2013-06-10 18:42:54 -06:00
Thomas S Hatch
1bcca1aae3
Add a generic failing sls for tests
2013-06-10 18:42:54 -06:00
Christian Franke
e46276db16
Improve file.directory for clean=True
...
Handle exclude_pat when running with test=True and add
some tests to verify correct behavior.
2013-06-11 02:28:51 +02:00
Tris Forster
714acc50d3
Add success flag to LocalClient.get_full_return()
2013-06-06 10:09:15 +10:00
Thomas S Hatch
f92ceca7b8
Merge pull request #5385 from hulu/del-is-not-a-func
...
rm unnecessary parens around 'del'; it's not a function
2013-06-04 08:25:24 -07:00