Rafael Caricio
c5a7b68aac
Use new test libs
2017-03-07 11:40:10 +01:00
Rafael Caricio
be2c2fab3f
Move to new style of tests
2017-03-07 09:53:48 +01:00
Rafael Caricio
aa171a5468
Add support to Telegram Bot messages beacon
2017-03-05 16:09:47 +01:00
Mike Place
3341e4e202
Merge pull request #39492 from whiteinge/full_return-arg
...
Add full_return arg to LocalClient and RunnerClient
2017-03-04 09:14:17 -07:00
Mike Place
c10abec6d3
Merge pull request #39797 from twangboy/win_fix_test_git
...
Fix test_worktree_add_rm test for Windows
2017-03-04 09:12:12 -07:00
Silvio Moioli
573d6e9dfb
minionswarm.py: add flag to delay starts
2017-03-04 14:52:18 +01:00
Pedro Algarvio
69f1c0fc64
Merge pull request #39822 from s0undt3ch/features/py3
...
A tiny bit more of py3
2017-03-03 22:12:11 +00:00
Pedro Algarvio
44ba96613b
This needs to be done as a PyLint plugin not as this kind of test.
...
It's the only way we can check all code paths of the __virtual__
function.
Regarding the 3rd-party modules gating, we also need to create a pylint
plugin which known what are the hard deps of Salt and will complain on
all other 3rd-party imports.
2017-03-03 20:35:17 +00:00
Pedro Algarvio
f4732d5433
Lint fixes
2017-03-03 19:28:45 +00:00
Pedro Algarvio
adacf4cc28
Don't expect any ordering from sets!!!!!
2017-03-03 18:31:11 +00:00
twangboy
2a6e61a42e
Add encode for Py3 compatability
2017-03-03 10:53:12 -07:00
twangboy
54891a57b1
Fix type in second worktree_path
2017-03-03 10:24:28 -07:00
Mike Place
7460e460e1
Merge pull request #39808 from carlpett/vault-lowercase-policies
...
Vault: Always lowercase policies
2017-03-03 08:21:59 -07:00
Pedro Algarvio
f5de085ac4
Add test case which will catch SOME problems with __virtual__ calls.
...
And also 3rd-party import errors.
2017-03-03 15:19:34 +00:00
Pedro Algarvio
5f388e7ea2
Minor fixes
2017-03-03 15:19:24 +00:00
Pedro Algarvio
e180f1e913
Normalize the mode
2017-03-03 15:15:13 +00:00
Pedro Algarvio
3b0b60dd9f
Error out when the path passed is not valid tests module
2017-03-03 12:41:27 +00:00
Pedro Algarvio
c687b6112a
Account for test module names prefixed with tests.
2017-03-03 12:41:27 +00:00
Calle Pettersson
c745415b8b
Vault: Always lowercase policies
2017-03-03 09:05:27 +01:00
Mike Place
9ce11794b7
Merge pull request #39800 from twangboy/win_fix_test_useradd
...
Fix test_add_user_to_group for Windows
2017-03-02 22:26:35 -07:00
Mike Place
02f00a9c41
Merge pull request #39795 from twangboy/fix_whitelist
...
Fix incorrect test name
2017-03-02 22:16:37 -07:00
twangboy
25938ebc8e
Fix test_add_user_to_group for Windows
2017-03-02 15:40:22 -07:00
twangboy
ef53ec7efe
Fix test_worktree_add_rm test for Windows
2017-03-02 14:37:53 -07:00
Pedro Algarvio
cb293f2f6d
Merge pull request #39649 from s0undt3ch/features/py3
...
Moar Py3
2017-03-02 21:16:51 +00:00
Pedro Algarvio
ab4f0aac6a
Merge pull request #39792 from s0undt3ch/features/pytest-salt-daemons
...
Allow passing a test module path to runtests.py to run its tests
2017-03-02 21:16:04 +00:00
twangboy
eb0b7227e9
Fix incorrect test name
2017-03-02 13:31:52 -07:00
Pedro Algarvio
5b5a6ebbe8
Minor code cleanup
2017-03-02 19:58:10 +00:00
Pedro Algarvio
5e3309d5f8
Let's use the skip_if_not_root decorator instead
2017-03-02 19:58:10 +00:00
Pedro Algarvio
2f3d0b0b81
These are not destructive tests
2017-03-02 19:58:10 +00:00
Pedro Algarvio
80002276c2
These tests are not destructive
2017-03-02 19:58:10 +00:00
Pedro Algarvio
519a3f689e
These tests are not destructive
2017-03-02 19:56:06 +00:00
Pedro Algarvio
31df825a1c
Set the ssh_log_file relative
2017-03-02 19:56:06 +00:00
Pedro Algarvio
fc501e93ac
Remove deprecated options
2017-03-02 19:56:05 +00:00
Pedro Algarvio
cbef6c044f
Re-enable the test since we now have the flaky decorator
2017-03-02 19:56:05 +00:00
Pedro Algarvio
96bcaf5365
The order is shady under Py3
...
/cc @cachedout @rallytime
2017-03-02 19:56:05 +00:00
Pedro Algarvio
7b4d849540
Moved some test supporting modules to tests/support
...
Previously they were in tests/utils which also had test case modules.
2017-03-02 19:56:05 +00:00
Pedro Algarvio
979090d225
We need bytes under Py3 to compute the hash
2017-03-02 19:56:04 +00:00
Mike Place
8de198f9b1
Merge pull request #39655 from twangboy/win_fix_renderers_tests
...
Fix renderers tests for Windows
2017-03-02 12:27:26 -07:00
Pedro Algarvio
661b6416b7
Allow passing a test module path to runtests.py to run its tests
...
Example:
```
python tests/runtests.py -v tests/integration/states/test_alternatives.py
```
2017-03-02 19:12:43 +00:00
Seth House
c25ffd5d2e
Add LocalClient and RunnerClient full_return tests
2017-03-02 11:46:27 -07:00
Mike Place
e558ce5d23
Merge pull request #39787 from s0undt3ch/features/pytest-salt-daemons
...
Try to reduce memory consumption during full test runs
2017-03-02 11:17:44 -07:00
Pedro Algarvio
9711f65d70
Try to reduce memory consumption during full test runs
2017-03-02 18:13:54 +00:00
Shane Lee
eb6d317289
Merge branch 'develop' into win_fix_renderers_tests
2017-03-02 10:29:36 -07:00
Mike Place
71410047f0
Merge pull request #39682 from ni3mm4nd/mongodb_user
...
Add support for user roles in present state
2017-03-02 10:17:38 -07:00
Mike Place
2d711782e8
Merge pull request #39736 from techhat/spmstates
...
Add pre and post states to SPM
2017-03-01 19:57:41 -07:00
Joseph Hall
bdb26ddf83
Create master cache dir
2017-03-01 16:09:13 -07:00
twangboy
ad654abc20
Clarify the reason for the while loop
2017-03-01 14:00:06 -07:00
twangboy
25b6d221c4
Fix ext_grains and ext_modules tests for Windows
2017-03-01 14:00:06 -07:00
Joseph Hall
8058bbe6ca
Just set all the default minion opts and be done with it
2017-03-01 13:12:18 -07:00
Joseph Hall
925eb7ffea
Add environment to test
2017-03-01 12:56:23 -07:00