Mike Place
a0a2646007
Merge pull request #41194 from rallytime/md5-warning-cleanup
...
Update fingerprint hash type default from md5 to sha256
2017-05-12 11:13:18 -05:00
rallytime
8dfa8d1d19
Pass the fingerprint_hash_type through for gitfs sshd tests
2017-05-11 12:29:51 -06:00
Nicole Thomas
88eabbb57d
Merge pull request #41179 from rallytime/fix-jinja-template-test
...
Split up test asserts in jinja template unit test
2017-05-11 10:23:16 -06:00
rallytime
bb0f8f32de
Update fingerprint hash type default from md5 to sha256
...
This PR also removes the warnings that this default with change in
the Nitrogen release, updates the documetation accordingly, and adjusts
some of the affected tests.
2017-05-11 09:33:45 -06:00
rallytime
d4e42b8e74
Use cptc.BaseRestCherryPyTest as test class
2017-05-11 09:09:40 -06:00
rallytime
738681c20f
Pylint fix
2017-05-11 09:03:10 -06:00
rallytime
6729587d54
Spelling fix
2017-05-10 16:59:39 -06:00
rallytime
3a5419ba3f
Split up test asserts in jinja template unit test
...
Due to a bug in the equality handler, this test was failing on
CentOS 6 running Python 2.7.13. This PR splits up the test assertions
into several different pieces in order to cover all the possible
use cases, but also pass on CentOS 6.
2017-05-10 16:55:37 -06:00
rallytime
12a75c1108
Merge branch '2016.11' into 'nitrogen'
...
No conflicts.
2017-05-10 15:32:23 -06:00
Nicole Thomas
496fa3accd
Merge pull request #41156 from rallytime/merge-nitrogen
...
[nitrogen] Merge forward from 2016.11 to nitrogen
2017-05-10 15:29:54 -06:00
Nicole Thomas
b136b15330
Merge pull request #41104 from Ch3LL/add_jobs_test
...
Add test to query results of /jobs call in api
2017-05-10 14:11:07 -06:00
Erik Johnson
77ae15e41b
Merge pull request #41155 from rallytime/git-test-fixes
...
Gate and skip git state integration tests when git version is older
2017-05-10 14:53:12 -05:00
rallytime
9014033726
Use LoaderModuleMockMixin for setting up default grains/salt dunders
2017-05-10 13:49:43 -06:00
Nicole Thomas
e7b714b6e1
Merge pull request #41171 from terminalmage/remove-git_pillar_warning
...
Remove git_pillar warning from integration suite startup
2017-05-10 11:36:54 -06:00
rallytime
23ee513397
Pylint: Add extra line above function declaration
2017-05-10 11:32:41 -06:00
Ch3LL
dac16583b7
add test to query results of /jobs call in api
2017-05-10 12:39:17 -04:00
rallytime
c282533612
Use with patch.dict for timezone.__grains__ dictionaries
2017-05-10 10:32:24 -06:00
Erik Johnson
03b5420988
Remove git_pillar warning from integration suite startup
...
This is no longer needed since the git_pillar configuration has been
removed from the suite's master config file now that git_pillar
integration tests have been added.
2017-05-10 11:13:43 -05:00
Erik Johnson
018ec5fff9
Make git version checks into decorators
...
Also fix a bug in one test where edits to a file are made in the current
working directory and not the git repo being used for the test.
2017-05-10 10:40:12 -05:00
lomeroe
2af89f2165
update mock data
2017-05-10 10:33:34 -05:00
lomeroe
b7fa115a59
update win_dns_client tests with correct module names
2017-05-10 10:33:33 -05:00
rallytime
baa8e3f5a6
Move new timezone_test.py tests over to test_timezone.py tests
2017-05-09 16:33:18 -06:00
twangboy
bc827ad8a7
Fix unit test
2017-05-09 16:00:24 -06:00
rallytime
ef0df4a954
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- salt/modules/win_network.py
- salt/modules/win_pkg.py
- salt/utils/gitfs.py
- tests/unit/modules/test_win_network.py
- tests/unit/states/test_file.py
2017-05-09 14:32:49 -06:00
rallytime
317b5e39bd
Add git_opts flag to _check_git_version helper funciton
...
We only need to skip the tests with git versions < 1.7.2 when
the test uses the git_opts option.
2017-05-09 13:52:47 -06:00
rallytime
4019db15fb
Skip git state tests when using the "git_opts" option
...
And also add some gates for if the git version is too low in general.
This fixes the test failures on CentOS 6 currently in the nitrogen branch.
2017-05-09 13:46:24 -06:00
Mike Place
a2f359fa13
Merge pull request #40852 from isbm/isbm-fix-coregrains-constants-bsc#1032931
...
Isbm fix coregrains constants bsc#1032931
2017-05-09 12:35:45 -06:00
Nicole Thomas
f8bfd36519
Merge pull request #41112 from rallytime/suse-pkg-test
...
Make sure "version" exists before looking for pkg key
2017-05-09 10:00:52 -06:00
Nicole Thomas
1a1c80f67c
Merge pull request #41109 from rallytime/fix-auth-unit-tests
...
Add calls to salt.client.get_local_client to patches list in auth unit tests
2017-05-09 10:00:08 -06:00
Bo Maryniuk
f3b12a3f5b
Do not use multiple variables in "with" statement as of lint issues
2017-05-09 10:17:49 +02:00
Theophile Meneau
d8766562c9
fix incorrect service.running success response
...
when enable=None and init script returns 0,
but service failed to start.
Fixes #41125
2017-05-08 10:25:21 -04:00
Bo Maryniuk
35a8d99934
Disable the test for a while
2017-05-08 13:49:54 +02:00
Bo Maryniuk
76cb1b7150
Rewrite test case for using no patch decorators
2017-05-08 10:41:50 +02:00
Erik Johnson
ffe4bc3d5c
update unit test to reflect new behavior
2017-05-06 01:29:49 -05:00
Erik Johnson
2af89beb53
Merge pull request #41103 from lorengordon/win.get_route
...
Adds a get_route() function to win_network.py
2017-05-06 01:19:41 -05:00
rallytime
16b4b9eb43
Make sure "version" exists before looking for pkg key
...
Fixes the test failure happening on the SUSE Leap build in the nitrogen
branch.
Version can be an empty dictionary and pass the check, but then we hit
a key error on the next line. Let's avoid that.
This failure was caused by the changes in #41086 .
Fixes https://github.com/saltstack/salt-jenkins/issues/332
2017-05-05 16:29:56 -06:00
Loren Gordon
93ce5644ea
Adds test for win_network.get_route
2017-05-05 17:32:50 -04:00
rallytime
6e857681d4
Add calls to salt.client.get_local_client to patches list in auth unit tests
...
We need to mock the calls to `salt.client.get_local_client` in the
tests.unit.test_auth.py file. Without these mocks, there are many tests
that fail when the entire set of unit tests runs. (Specifically, these fail
with both the module and state boto_apigateway unit tests run.)
This mocked patch is similar to the change in PR #41082 and fixes all 16 test
failures reported in https://github.com/saltstack/salt-jenkins/issues/326 .
2017-05-05 14:26:54 -06:00
rallytime
bb1917243e
Merge branch '2016.11' into 'nitrogen'
...
No conflicts.
2017-05-05 10:11:11 -06:00
Mike Place
127eb04ff6
Merge pull request #41082 from rallytime/fix-spm-unit-tests
...
Patch calls to salt.client.Caller and salt.client.get_local_client in spm unit tests
2017-05-05 10:05:43 -06:00
Nicole Thomas
bae17ed4b9
Merge pull request #41085 from Ch3LL/fix_azure
...
Fix azure tests to query provider
2017-05-05 09:49:58 -06:00
Nicole Thomas
f4eaa8e44a
Merge pull request #41086 from twangboy/fix_test_pkg
...
Fix test pkg
2017-05-05 09:49:16 -06:00
twangboy
e4c5156d77
Fix some lint
2017-05-04 16:45:58 -06:00
twangboy
20da5f5d4b
Add software def for putty
2017-05-04 15:16:21 -06:00
twangboy
75072b1c83
Fix pkg tests for windows
2017-05-04 15:13:41 -06:00
Ch3LL
1eda73bd61
fix azure tests to query provider
2017-05-04 16:50:24 -04:00
rallytime
da811fe505
Skip the correct test for the matcher tests in Arch
...
I mixed up the test that was actually failing for Arch. I originally
submitted #41074 to skip the test_salt_documentation test in the
shell matcher tests. This is the wrong test to skip.
I reverted the previous commit, and applied the skipTest to the
correct test that is failing on Arch, which is the
test_salt_documentation_arguments_not_assumed test.
2017-05-04 14:45:58 -06:00
rallytime
b9d1ce9aed
Revert "Skip integration.shell.matcher.MatchTest.test_salt_documentation test for Arch"
...
This reverts commit 9eb482d5c7
.
2017-05-04 14:45:38 -06:00
rallytime
891e174f71
Patch calls to salt.client.Caller and salt.client.get_local_client in spm unit tests
...
Fixes the spm unit test failures in CentOS 6. These calls to the client need to be
patched so they don't interact with other unit tests.
2017-05-04 14:30:49 -06:00
rallytime
c91bb18298
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- doc/ref/configuration/master.rst
- salt/modules/pip.py
- salt/states/saltmod.py
2017-05-04 11:49:33 -06:00