Daniel Wallace
e2824a7253
fix py3 tests
2018-01-05 13:36:08 -07:00
Daniel Wallace
d0586013eb
fix pylint
2017-12-21 10:40:54 -07:00
Daniel Wallace
59e2e56d13
chmod the xml files before trying to copy
2017-12-21 08:17:10 -07:00
Daniel Wallace
a5c1410e23
catch IOError when copying xml files back
2017-12-20 18:26:18 -07:00
Ch3LL
61ac5cf157
Add spm -y and -f arg integration tests
2017-12-04 16:06:14 -05:00
Ch3LL
69134e83ca
Change order of local kwarg in run_call method
2017-11-22 15:50:29 -05:00
Ch3LL
b3b5ecc6ff
Add pillar.items test for masterless
2017-11-22 15:40:57 -05:00
twangboy
47114fdb30
Pass root_dirs to the win_verify_env function
...
Remove while loop that was hanging when `salt` wasn't in the path
Add salt.util.path.safe_path function to check for unsafe paths
Pass root_dir to all calls to `verify_env`
2017-11-13 13:05:23 -07:00
Ch3LL
308596ac8d
Add salt-ssh raw integration tests
2017-11-10 14:47:38 -05:00
Ch3LL
8089a885c2
add wipe function to other run_ssh method
2017-11-10 10:48:31 -05:00
Ch3LL
faef0886a7
Add state tests and state request system to salt-ssh
2017-11-10 10:48:30 -05:00
Nicole Thomas
b2b0c770a4
Merge pull request #44279 from rallytime/merge-2017.7
...
[2017.7] Merge forward from 2016.11 to 2017.7
2017-10-27 12:17:18 -04:00
Erik Johnson
bd5b9dd0aa
Merge pull request #44291 from Ch3LL/pillar_test
...
add saltutil.refresh_pillar test
2017-10-27 10:19:42 -05:00
Ch3LL
34e2955445
add saltutil.refresh_pillar test
2017-10-25 15:56:49 -04:00
rallytime
8237f45a46
Add print_function to __future__ import list
2017-10-25 14:54:03 -04:00
Ch3LL
03b5c4bc6d
add spm integration tests for remove and build
2017-10-25 12:09:51 -04:00
rallytime
1c3cb5c6a4
Merge branch '2016.11' into '2017.7'
...
Conflicts:
- .gitignore
- tests/unit/states/test_file.py
2017-10-25 10:04:08 -04:00
Daniel Wallace
56a3ad8f68
fix pylint comments
2017-10-24 12:18:27 -06:00
Daniel Wallace
4add666db1
add comment to Gemfile and move copyartifacts
...
moved copyartifacts.py to tests/support
Also added a comment to the Gemfile that this is only used to run the testsuite with kitchen-salt
2017-10-24 12:01:57 -06:00
Ch3LL
4729ccd32b
Add multiple spm integration tests
2017-10-23 17:13:32 -04:00
Ch3LL
cd79e9444e
remove unneded kwarg
2017-10-18 17:21:52 -04:00
Ch3LL
1541376c4f
Add spm build test
2017-10-18 17:15:42 -04:00
Ch3LL
d2e91c33bd
Add spm shell tests
2017-10-12 15:31:48 -04:00
Erik Johnson
d942752e95
Fix usage of assert_called_once in Python 3 < 3.6
...
This is a more complete fix which builds upon 41c65b0
and covers all
refs to assert_called_once in the suite.
2017-07-03 09:30:12 -05:00
Dmitry Kuzmenko
e01e566779
Minor: show full dict diffs if test fails.
2017-06-27 16:22:09 +03:00
Daniel Wallace
05f2c66604
handle bytes strings in mock_open
2017-06-15 22:43:40 -06:00
Daniel Wallace
4f7c6d1161
use our own mock_open
...
test.support.mock.mock_open specifies a side effect so that if you constantly
read a mocked open call, it will only iterate through it once, and then after
it will appear as if the end of the file has been reached.
This is needed for salt.modules.cp.push to be tested correctly.
2017-06-15 17:50:35 -06:00
Mike Place
b12611d122
Merge pull request #41617 from cro/n_proxy_tests
...
Port salt-proxy tests to the testsuite changes in Nitrogen.
2017-06-15 12:07:29 -05:00
Gareth J. Greenaway
53a216378c
Fixing the last text failure.
2017-06-09 09:16:09 -06:00
Gareth J. Greenaway
4d3399c6c4
Couple more typos, assert not asset.
2017-06-09 09:16:09 -06:00
Gareth J. Greenaway
14a903ef61
Fixing typo in assertSaltTrueReturn, assertSaltFalseReturn and assertSaltNoneReturn.
2017-06-09 09:16:09 -06:00
Gareth J. Greenaway
a531d01b26
Updating the assert tests for develop based on changes from 41569.
2017-06-09 09:16:09 -06:00
Erik Johnson
846200f11e
Include terminate_process_list in import
2017-06-08 00:24:53 -05:00
C. R. Oldham
4540f82aaa
Port salt-proxy tests to the testsuite changes in Nitrogen.
2017-06-06 13:49:16 -06:00
Daniel Wallace
f309bae8b4
Make sure runtests_engine is ASCII text
...
If this is has any unicode characters in it, it won't load on systems that do
not default to a unicode locale.
find . -type f | while read line; do ret=$(file $line); if [[ $ret == *UTF-8* && $line == *.py ]]; then echo $line; fi; done
The above will list all files that have unicode characters in it and won't load
with locale set to C or POSIX
2017-06-05 17:30:28 -06:00
rallytime
8dfa8d1d19
Pass the fingerprint_hash_type through for gitfs sshd tests
2017-05-11 12:29:51 -06:00
Nicole Thomas
2bf02fad81
Merge pull request #41050 from terminalmage/git_pillar-tests
...
Fix git_pillar integration tests on Arch
2017-05-03 16:53:31 -06:00
Erik Johnson
f77393b80d
Skip git_pillar integration tests on cent6
...
Cent6 has too old of a version of git to handle the make_repo func that
spawns the git repos used in these tests.
2017-05-03 16:36:36 -05:00
Erik Johnson
a94d081004
Add check for git-http-backend
...
This allows for more graceful test failures when the libexec dir is
different from what the test class determines it should be.
2017-05-03 15:16:16 -05:00
Erik Johnson
33515f6a14
Fix git_pillar integration tests on Arch
...
The location of the git-http-backend is within /usr/lib instead of
/usr/libexec.
This also uncomments a line that was commented out for troubleshooting
purposes.
2017-05-03 14:49:14 -05:00
twangboy
c7d164423e
Increase timeout of run_function
2017-05-02 16:01:06 -06:00
Erik Johnson
39157b40ed
Fix some git_pillar integration test failures
...
For some reason these were not failing when I opened #40777 , but now
that the PR is merged are failing for PR builds (as well as locally in
my test env). This fixes those failures.
2017-05-01 17:13:42 -05:00
Mike Place
f766c97e26
Merge pull request #40777 from terminalmage/issue39349
...
Add git_pillar integration tests
2017-05-01 13:51:19 -06:00
Erik Johnson
402be207b2
Skip Pygit2 tests until EPEL fixes pygit2/libgit2 version mismatch
...
We can revert this commit once they get the updated pygit2 pushed to
EPEL stable.
2017-04-28 13:25:02 -05:00
Pedro Algarvio
7b503e562b
Use setUpClass
instead of __init__
2017-04-28 13:33:37 +01:00
Pedro Algarvio
0ae04c01ef
Delete all attributes even strings, boolean, integers
2017-04-28 13:33:37 +01:00
Pedro Algarvio
88627d312f
Write the generated configuration into a config file
2017-04-28 13:33:36 +01:00
Pedro Algarvio
80b80e5416
Fix cherrypy memory leakage
...
* Clean its event/signal bus since our tests don't rely on those.
* No test class level dictionaries
2017-04-28 13:33:35 +01:00
Pedro Algarvio
41df7eca96
Use setUpClass
instead of __init__
2017-04-28 13:33:31 +01:00
Erik Johnson
9f27f362ca
Add HTTP git_pillar integration tests for pygit2
...
Also work around ssh auth issues in Ubuntu
2017-04-27 18:20:18 -05:00