Pedro Algarvio
da42560286
When using integration.run_tests
the SSH option is not available
2014-06-05 10:10:56 +01:00
Pedro Algarvio
649c7e6d01
Ensure proper path in syspath
2014-06-05 10:10:56 +01:00
Pedro Algarvio
d69bb5dfd9
No hard coded configuration paths
2014-06-05 10:10:56 +01:00
Pedro Algarvio
36ea569d0d
Don't use hard coded paths
2014-06-05 10:10:55 +01:00
Pedro Algarvio
af503bfdcf
Skip test if unable to import the git python package
2014-06-01 07:05:52 +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
Mike Place
c981914800
More Pylint
2014-05-23 15:27:19 -06:00
Mike Place
f3733fabf4
Clean up sshd config.
...
Remove hostkeys that are now dymaically generated per-run.
No more usepam
2014-05-23 15:04:11 -06:00
Mike Place
535ea24eea
Now we don't need root anymore
2014-05-23 15:00:26 -06:00
Mike Place
d4be5906e0
Pylint
2014-05-23 14:52:28 -06:00
Mike Place
c753b77e10
Pass -i to salt-ssh
2014-05-23 14:38:52 -06:00
Mike Place
7abc25f67f
Generate server keys too
2014-05-23 14:11:14 -06:00
Mike Place
cf25592c53
Working salt-ssh test runner
...
This rounds out initial (alpha) support for a salt-ssh test runner.
At present, one must manually specify the --ssh flag to ensure that
the ssh deamons are spun up properly.
Conflicts:
tests/integration/__init__.py
tests/integration/files/conf/_ssh/sshd_config
tests/integration/files/conf/sshd_config
tests/integration/files/ext-conf/sshd_config
2014-05-23 14:11:14 -06:00
David Boucha
9dc182a2f4
fix codeauthor misspellings
2014-05-21 18:59:02 -06:00
Pedro Algarvio
5a8575dbb9
The helper method is now released
2014-05-20 10:53:47 +01:00
Thomas S Hatch
837ba1745d
Merge pull request #12821 from rallytime/list_aliases
...
Make salt.states.target behave correctly with list of targets
2014-05-16 08:50:58 -06:00
rallytime
444cf57a9f
Make salt.states.target behave correctly with list of targets
2014-05-15 12:47:26 -06:00
Mike Place
a3c848ede8
Heavy linting of docker module and re-do docker tests.
2014-05-15 09:53:30 -06:00
Thomas S Hatch
988101cf8d
update tests to handle new return data from states
2014-05-14 16:09:27 -06:00
Elias Probst
f57dce2224
Correct usage of 'CLI Example' in documentation blocks
...
This mass-edit was done using the following shell command:
ack --python -l '^(\s*)CLI Example::$' \
| xargs sed -i \
's/^\(\s*\)CLI Example::/\1CLI Example:\n\n\1.. code-block:: bash/g'
2014-05-14 19:29:49 +02:00
Pedro Algarvio
5d779444be
No need to be root to run these tests
2014-05-12 19:09:55 +01:00
Pedro Algarvio
6b1380a25c
Move sshd_config
file to another directory to avoid problems.
2014-05-12 19:06:09 +01:00
rallytime
8bf15e9062
Integration tests for checking outputter return data
2014-05-12 11:31:59 -06:00
Pedro Algarvio
df802117b1
Remove extra new line
2014-05-10 15:09:13 +01:00
Pedro Algarvio
592c669f75
Add coding header
2014-05-10 14:42:41 +01:00
Pedro Algarvio
8f1f212a7f
Remove trailing white-space.
2014-05-10 14:41:48 +01:00
Mike Place
d7bba818a9
Only listen on localhost.
2014-05-10 14:18:53 +01:00
Mike Place
1fe291346f
Cleanup
2014-05-10 14:18:53 +01:00
Mike Place
0cbac67a3f
Support for continuous integration testing of salt-ssh
2014-05-10 14:18:53 +01:00
Pedro Algarvio
e096df9016
Replace string substitution with string formatting
2014-05-01 13:29:38 +01:00
Pedro Algarvio
91182e9e44
Replace string substitution with string formatting
2014-05-01 13:29:38 +01:00
Chris Rebert
45981a56f9
lots of copyediting
2014-04-30 12:06:27 -07:00
Thomas S Hatch
6129ec828d
Merge pull request #12281 from terminalmage/issue12209-tests
...
Add tests for #12209
2014-04-25 20:35:47 -06: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
Pedro Algarvio
1a65ee6bc7
In order not to change the arguments order
2014-04-25 23:34:15 +01: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
Joseph Hall
f971ec3af3
Merge pull request #12263 from s0undt3ch/issues/12261-too-many-args-to-docs
...
Fail soon on too many args to docs
2014-04-25 07:03:39 -06:00
Pedro Algarvio
13106807b1
Better examples on tests
2014-04-24 16:04:51 +01:00
Pedro Algarvio
b969cd15f7
Handle too many arguments for docs in salt-run. Refs #12261 .
2014-04-24 16:01:25 +01:00
Pedro Algarvio
f3fa2aef74
Handle too many arguments for docs in salt-call. Refs #12261 .
2014-04-24 15:56:58 +01:00
Pedro Algarvio
762d0b1e24
Check for extra arguments to '--doc' and fail. Fixes #12261 .
2014-04-24 15:42:47 +01:00
Pedro Algarvio
5b790dbb79
Allow getting stderr
from the commands.
2014-04-24 15:42:17 +01:00
Pedro Algarvio
f43dfd5478
Merge pull request #12171 from cachedout/6692
...
Supervisord mod_watch fix
2014-04-24 13:21:26 +01:00
Pedro Algarvio
33f361e99d
Don't use the deprecated keyword argument
2014-04-24 09:06:28 +01: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
Thomas S Hatch
ff30f81933
Merge pull request #12135 from jacksontj/job_cache
...
Master_job_caches
2014-04-23 13:55:51 -06:00
Erik Johnson
74180b1da0
More test fixes
2014-04-21 20:36:23 -05:00
Erik Johnson
c41526c913
Fix tests to match new error messages
2014-04-21 20:07:06 -05:00
Mike Place
9ac6e8e150
Remove test.
...
Also pass makedirs correctly.
2014-04-21 10:30:27 -06:00
Thomas Jackson
05f0969ee8
Fix the output now that we are using the default output (nested) instead of hard coding it to yaml
2014-04-19 15:59:13 -07:00
Thomas Jackson
df4dd4ec18
Fix failing shell test case-- and change up jobs runner to use the "output" config instead of hard coding what the option should be. In addition i changed the display_output function to default the "out" to None, since that means "use config" down inside.
2014-04-19 13:33:25 -07:00
Mike Place
f717aa6004
Write test for ownership of file.managed with makedirs=True
2014-04-17 15:36:08 -06:00
Mike Place
702d51f55e
Remove unecessary test.
2014-04-09 16:27:44 -06:00
Seth House
d24cf41b62
Added integration tests for webhook auth enable/disable
2014-04-08 13:51:33 -06:00
Thomas S Hatch
09769d6fa2
lint tests
2014-04-02 11:16:24 -06:00
Thomas S Hatch
9ed1e172e3
Maybe this will fix the ubuntu tests on jenkins!
2014-04-02 11:02:03 -06:00
Thomas S Hatch
d478a16ef5
These tests should have never worked!!
2014-04-02 10:27:04 -06:00
Pedro Algarvio
bb70a0e381
Switch quotes to make test pass
2014-03-31 22:30:16 +01:00
Seth House
0a1a21df17
First stab at integration tests for the rest_cherrypy netapi module
2014-03-31 09:58:56 -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
88bcbc4e53
Merge pull request #11594 from rallytime/darwin_sysctl_test
...
Tests and added functionality for darwin_sysctl module
2014-03-27 13:34:43 -06:00
rallytime
4c2adea74e
Added functionality to sysctl.persist and integration tests for darwin_sysctl module
2014-03-27 13:05:22 -06:00
Thomas S Hatch
95ade395d6
Merge pull request #11511 from rallytime/darwin_sysctl_test
...
More darwin_sysctl tests
2014-03-25 14:23:20 -06:00
rallytime
27985060e2
Integration tests started for darwin_sysctl module
2014-03-25 13:52:54 -06:00
Thomas S Hatch
ef9fc46828
Merge pull request #11447 from s0undt3ch/hotfix/minion-events
...
Fix minion event trigger
2014-03-24 15:43:45 -06:00
Pedro Algarvio
0144b24a24
Update test case to new return format.
...
Also, the comparison check is old, new or better, known -> unknown
2014-03-24 17:07:50 +00:00
Pedro Algarvio
ed12816806
Update tests to new event classes signatures.
2014-03-24 16:54:31 +00:00
Thomas S Hatch
f9c32c3627
Merge pull request #11414 from rallytime/brew_integration
...
Integration tests for brew module
2014-03-21 12:43:06 -06: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
rallytime
1c26ce3845
Integration tests for brew module
2014-03-21 10:52:51 -06:00
rallytime
761a774424
Integration tests for mac_group module
2014-03-18 14:34:36 -06:00
rallytime
813920b092
Merge branch 'develop' of https://github.com/saltstack/salt into mac_group
2014-03-18 13:11:42 -06:00
rallytime
f2cff53756
Check if gid exists before adding group and associated tests
2014-03-18 13:02:20 -06:00
Thomas S Hatch
d3c28e8b08
Merge pull request #11302 from cro/add_file_mode_tests
...
Add tests to verify that file.managed will set permissions correctly on existing files.
2014-03-18 10:25:48 -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
rallytime
42ae77f181
destructive tests
2014-03-17 13:34:05 -06:00
rallytime
29cd475d30
clean-up after changing user info tests
2014-03-17 13:16:45 -06:00
rallytime
4a8ac5fc51
Merge branch 'develop' of https://github.com/saltstack/salt into mac_user_test
2014-03-17 13:12:11 -06:00
rallytime
e2af3aca24
Integration tests for changing user info in mac_user module
2014-03-17 13:10:36 -06:00
rallytime
d3bc7c800c
mac_user integration tests
2014-03-17 09:02:16 -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
Thomas S Hatch
d522a78926
Merge pull request #11214 from rallytime/mac_user_test
...
pylint fixes
2014-03-13 17:37:42 -06:00
rallytime
ad6bcbdd73
pylint fixes
2014-03-13 14:29:58 -06:00
Mike Place
72749d70ac
Merge pull request #11213 from rallytime/mac_user_test
...
Refactored and wrote more mac_user integration tests
2014-03-13 13:57:51 -06:00
rallytime
aacf7ee6ac
Ah! Almost forgot the destructive test decorators
2014-03-13 13:55:32 -06:00
rallytime
1dd6fd45bc
Pylints
2014-03-13 13:51:58 -06:00
rallytime
69d974d764
Refactored and wrote more mac_user integration tests
2014-03-13 13:47:01 -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
Thomas S Hatch
1c909c0ea9
Merge pull request #11155 from rallytime/mac_user_test
...
Mac user integration test
2014-03-11 23:17:03 -06:00
rallytime
b9ea2d09f4
pylint fixes
2014-03-11 21:45:41 -06:00
rallytime
edfd0f4a99
Wrote a mac_user integration test
2014-03-11 15:26:16 -06:00
Thomas S Hatch
84d5c525b0
Merge pull request #10972 from s0undt3ch/hotfix/force-virtual-booleans
...
The `__virtual__()` function should only return strings on renames.
2014-03-11 08:51:11 -07:00
Pedro Algarvio
a084303c91
Stop running the test while it's failing
2014-03-10 23:52:38 +00:00
Pedro Algarvio
1ef4cd11cb
Not renaming, return a boolean in __virtual__()
.
2014-03-10 17:51:54 +00:00
Pedro Algarvio
fd1bab0d8d
Add test case which triggers #11003 .
2014-03-10 17:47:22 +00:00
rallytime
b7d4e2ed96
Started some integration tests for mac_user module
2014-03-10 11:19:40 -06:00
Mathieu Le Marec - Pasquet
537f96fe14
salt-call now returns jobs to master
...
This is related to #10500 .
This finishes @thatch45 work
2014-02-20 20:31:40 +01:00
Thomas S Hatch
81790838fa
tmp stub out test until we can find a better home for it
2014-02-17 14:31:41 -07:00
Vye Wilson
e2b1381185
Adds support for updating cached git repo url.
...
Fixes #10408
2014-02-12 18:58:42 -08:00
Pedro Algarvio
059ed16d02
Remove unused import
2014-02-12 15:37:15 +00:00
Pedro Algarvio
7465f0511f
Remove unused import
2014-02-12 15:36:17 +00:00
Pedro Algarvio
c15526852a
Remove unused imports
2014-02-12 15:35:14 +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
Thomas S Hatch
17edf0b1a7
Merge pull request #10288 from s0undt3ch/hotfix/lint
...
Lint Fixes
2014-02-10 12:22:09 -07:00
Pedro Algarvio
362e162496
Remove un-necessary code
2014-02-10 15:10:19 +00:00
Pedro Algarvio
ec5614bd08
Remove the vim jedi output from the code
2014-02-10 13:28:28 +00:00
Pedro Algarvio
74dae3b842
And, as a last resort, kill the process after failing to terminate them.
2014-02-10 13:11:09 +00:00
Pedro Algarvio
db41d3b5c5
Ignore unused imports
2014-02-08 07:57:43 +00:00
Pedro Algarvio
e5b293e767
Remove unused imports
2014-02-08 07:57:10 +00:00
Pedro Algarvio
375de4e706
Remove unused imports
2014-02-08 07:56:40 +00:00
Pedro Algarvio
7c51c8ff7f
Remove unused imports
2014-02-08 07:55:55 +00:00
Pedro Algarvio
2a31e4e38b
Remove unused imports & Skip if no mock available
2014-02-08 07:54:31 +00:00
Pedro Algarvio
6144ac22f7
Remove unused imports & Skip if no mock available
2014-02-08 07:51:28 +00:00
Pedro Algarvio
d67488775e
Remove unused imports & Skip if no mock available
2014-02-08 07:50:12 +00:00
Pedro Algarvio
7acf994c46
Remove unused imports
2014-02-08 07:47:17 +00:00
Pedro Algarvio
3fceb028eb
Ignore and remove unused imports
2014-02-08 07:46:50 +00:00
Pedro Algarvio
b60a0543ce
Skip test if binaries missing
2014-02-08 07:45:25 +00:00
Pedro Algarvio
3e0780fa78
Remove unused imports
2014-02-08 07:43:30 +00:00
Pedro Algarvio
8e0233bbb8
Remove unused imports
2014-02-08 07:42:32 +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
bb9e431491
No need for the line breaks
2014-02-08 00:33:26 +00:00
Pedro Algarvio
c8010bbf4f
We don't narrow check's to state calls no more.
2014-02-07 18:01:09 +00:00
Pedro Algarvio
420fe3cc50
Let's try without passing the --out
option.
2014-02-07 18:00:40 +00:00
Pedro Algarvio
499a508a0f
Use the correct .format()
index.
2014-02-07 10:25:27 +00:00
Pedro Algarvio
b66418e263
Provide tests cases for #10197 and #10198
2014-02-05 21:56:08 +00:00
Pedro Algarvio
c304660f88
Fix typo
2014-02-05 02:32:04 +00:00
Pedro Algarvio
74376c40ef
Include what happened in the returned list.
2014-02-04 22:49:13 +00:00
Pedro Algarvio
6045f0901f
Try to match some more stalled functions.
2014-02-04 22:36:39 +00:00
Pedro Algarvio
6248850055
Show and kill stalled states jobs when running the tests.
2014-02-04 21:07:13 +00:00
Joseph Hall
6b39fbec81
Merge pull request #10137 from s0undt3ch/hotfix/rabbitmq-virtual-fixes
...
rabbitmq module and test fixes/simplifications
2014-02-03 04:33:08 -08:00
Pedro Algarvio
69d0f907f9
Make use of the print()
function.
2014-02-03 11:07:43 +00:00
Pedro Algarvio
378a9d5b21
Simplify test requirements.
2014-02-03 10:55:44 +00:00
Pedro Algarvio
f417bb5b5a
Minor cosmetic change for consistency.
2014-02-03 10:31:13 +00:00
Thomas S Hatch
ce1f305745
Merge pull request #10031 from kaithar/feature/test-fixes
...
Feature/test fixes
2014-01-31 09:38:38 -08:00
Thomas S Hatch
13e0d53493
Merge pull request #10029 from kaithar/feature/fix-special-bit-perm-test
...
Better handling for special bit modes
2014-01-29 19:20:31 -08:00
Daniel Bradshaw
749e4871db
Fixing some missing PEP8ness
2014-01-29 19:48:57 +00:00
Daniel Bradshaw
bc967fa3fb
Expand tests for manage_mode
2014-01-29 18:46:44 +00:00