Anthony Shaw
41d1adab5f
fix up tests
2017-05-12 16:36:06 -06:00
Erik Johnson
7fe64219ae
Add rtag check to integration test for pkg.refresh_db
2017-05-12 15:21:22 -05:00
C. R. Oldham
19db038b99
Fix test--use proxy_config instead of minion_config
2017-05-12 14:01: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
Ch3LL
dac16583b7
add test to query results of /jobs call in api
2017-05-10 12:39:17 -04: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
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
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
Erik Johnson
92011dbe5f
Fix "latest" keyword for version specification when used with aggregation
...
The "latest" keyword was only implemented when both "name" and "version"
were used, and not for "pkgs". But mod_aggregate puts all packages into
a single low chunk, within "pkgs". This means that using aggregation in
conjuntion with the "latest" keyword no longer resolves the latest
version and thus breaks these states.
This fixes the problem by moving the logic for resolving the "latest"
keyword into _find_install_targets(). It also makes some improvements to
the logic we use to ensure only one package DB refresh is performed per
Salt run, by making the pkg.refresh_db functions handle removing the
rtag file, instead of requiring a call to a helper function everywhere
in the pkg state where we might be calling a function that refreshes the
package DB.
2017-05-06 00:46:06 -05:00
C. R. Oldham
3be90cc9f4
Rescue proxy_auto_tests PR from git rebase hell
2017-05-05 17:04:00 -06:00
Loren Gordon
93ce5644ea
Adds test for win_network.get_route
2017-05-05 17:32:50 -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
9eb482d5c7
Skip integration.shell.matcher.MatchTest.test_salt_documentation test for Arch
...
This test is failing in Arch due to a bug in salt-testing. Skipping until
salt-testing can be upgraded. For more information, see
https://github.com/saltstack/salt-jenkins/issues/324 .
2017-05-04 11:26:01 -06:00
Mike Place
ff39613a53
Merge pull request #41049 from Ch3LL/fix_wheel_test
...
fix integration wheel test_gen test
2017-05-04 09:33:58 -06:00
Erik Johnson
ee493bae47
Update package targets for Arch pkg tests
...
Something else is installing pytz (likely via pip), causing filesystem
conflicts when the pkg integration tests try to install python2-pytz as
a dep of python2-django.
This commit also changes a bunch of the other tests so that they are
explicitly skipped instead of just being no-ops in cases where they are
not configured to be run. This provides more accurate information in the
overall test results.
2017-05-03 17:02:32 -05:00
Ch3LL
ba223827b9
fix integration wheel test_gen test
2017-05-03 15:37:44 -04:00
Bo Maryniuk
f71af0b625
Fix lint issues
2017-04-24 18:46:27 +02:00
Bo Maryniuk
0e6abb3e37
Add UT on set_hw_clock on Gentoo
2017-04-24 16:08:22 +02:00
Bo Maryniuk
a2b1d4638c
Add UT for set_hwclock on Debian
2017-04-24 16:08:22 +02:00
Bo Maryniuk
88e8184702
Add UT set_hwclock on SUSE
2017-04-24 16:08:22 +02:00
Bo Maryniuk
0cd590f927
Fix UT names
2017-04-24 16:08:22 +02:00
Bo Maryniuk
bee94ade63
Add UT for set_hwclock on RedHat
2017-04-24 16:08:22 +02:00
Bo Maryniuk
dfe2610d05
Add UT for set_hwclock on Arch
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d000a8a6f5
Add UT for set_hwclock on solaris
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d2614aedaa
Fix docstrings
2017-04-24 16:08:22 +02:00
Bo Maryniuk
6d782191dc
Add UT for set_hwclock on AIX
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d303e0dd8a
Add UT for AIX on get_hwclock
2017-04-24 16:08:22 +02:00
Bo Maryniuk
86f2d83781
Add UT on Solaris
2017-04-24 16:08:22 +02:00
Bo Maryniuk
c3cafed6d5
Add UT for Debian on get_hwclock
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d337c09357
Add UT for RedHat/SUSE platforms on get_hwclock
2017-04-24 16:08:22 +02:00
Bo Maryniuk
f25dc5c56c
Add UT for get_hwclock on SUSE platform
2017-04-24 16:08:22 +02:00
Bo Maryniuk
08e00c865c
Remove dead code
2017-04-24 16:08:22 +02:00
Bo Maryniuk
1216a0bf12
Add UT for get_hwclock on UTC/localtime
2017-04-24 16:08:22 +02:00
Bo Maryniuk
58676c568d
Add UT for Debian on set_zone
2017-04-24 16:08:22 +02:00
Bo Maryniuk
1b9ce37b1b
Add UT for gentoo on set_zone
2017-04-24 16:08:22 +02:00
Bo Maryniuk
6ed9be985e
Adjust UT to use correct grain for SUSE series
2017-04-24 16:08:22 +02:00
Bo Maryniuk
ce4c836a60
Add UT for set_zone on SUSE series
2017-04-24 16:08:22 +02:00
Bo Maryniuk
155a498b49
Doc fix
2017-04-24 16:08:22 +02:00
Bo Maryniuk
a40876cdac
Remove unnecessary mock patch
2017-04-24 16:08:22 +02:00
Bo Maryniuk
ffab2db213
Fix doc for RH UT
2017-04-24 16:08:22 +02:00
Bo Maryniuk
72388f7ae2
Add UT for RedHat's set_zone
2017-04-24 16:08:22 +02:00
Bo Maryniuk
11595d3a42
Refactor with setup/teardown
2017-04-24 16:08:22 +02:00
Bo Maryniuk
28072c9e41
Adjust the test so it is using the right grain for SUSE systems
2017-04-24 16:08:22 +02:00
Bo Maryniuk
7a0e4be4f8
Add unit test for get_zone and various platforms
2017-04-24 16:08:22 +02:00
Bo Maryniuk
116c96a4b7
Fix UT parameter changes
2017-04-22 10:08:20 +02:00
Bo Maryniuk
ed84420df0
Add unit test for node ip filtering
2017-04-22 10:08:20 +02:00
Bo Maryniuk
82582cff77
Skip test, if libcloud is not around
2017-04-22 10:08:20 +02:00
Bo Maryniuk
f005d53c56
Fix name error exception
2017-04-22 10:08:20 +02:00
Bo Maryniuk
5e574a24d9
Add unit test for nova connector
2017-04-22 10:08:19 +02:00
Bo Maryniuk
cd43805770
Add initial unit test for openstack cloud module
2017-04-22 10:08:19 +02:00
Bo Maryniuk
177f31446d
Add fake preferred IP function for testing
2017-04-22 10:08:19 +02:00
Mike Place
2ab95b7dd5
Set minion test to use default opts
2017-04-18 08:34:57 -06:00
Nicole Thomas
77028a6c4e
Merge pull request #40685 from Ch3LL/fix_mac_file
...
Fix errno code for filecache test for other operating systems.
2017-04-14 10:54:25 -06:00
Ch3LL
9ea6e8b456
remove io and change to EROFS
2017-04-13 18:10:44 -04:00
Ch3LL
688791ff60
remove try-except and change errno
2017-04-13 17:06:44 -04:00
Mike Place
ad4d6839fd
Merge pull request #40675 from gtmanfred/2016.11
...
use loader for getting war version
2017-04-13 13:58:30 -06:00
Ch3LL
e30afc4c01
add exception type
2017-04-13 15:06:12 -04:00
Ch3LL
acf333df08
change errno code for fileclient test
2017-04-13 14:56:45 -04:00
Daniel Wallace
a61fc824c4
use loader for war extraction
...
Also set the version added in the docs
2017-04-13 11:51:22 -06:00
Ch3LL
60724980ec
fix test_fstype test for mac
2017-04-13 12:04:20 -04:00
Mike Place
92b5f03beb
Merge pull request #40551 from terminalmage/issue39868
...
Fix four issues in archive.extracted state
2017-04-12 12:37:51 -06:00
Daniel Wallace
b0bd99c26d
add comment and unit test
2017-04-11 21:08:06 -06:00
Erik Johnson
5ea1f607b0
Fix mocking in unit tests
2017-04-10 13:57:39 -05:00
rallytime
5a419b8aae
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/modules/pillar.py
2017-04-07 11:23:41 -06:00
Erik Johnson
f8bc423ef9
Merge pull request #40563 from terminalmage/merge-2016.3-2016.11
...
Merge-forward 2016.3 -> 2016.11
2017-04-07 10:08:19 -05:00
Erik Johnson
0c608d7417
Add client_args_mock back to test
...
I removed this incorrectly in resolving a merge conflict.
2017-04-07 08:50:45 -05:00
Mike Place
83f6d3d3bb
Merge pull request #40567 from terminalmage/fix-pillar-get-merge-lists
...
Allow pillar.get to merge list as well as dictionaries
2017-04-06 15:54:16 -06:00
Nicole Thomas
ae13de622a
Merge pull request #40451 from isbm/isbm-fileclient-testcase-2016.11
...
Fileclient testcase (2016.11)
2017-04-06 13:53:30 -06:00
Erik Johnson
cb4db56eb5
Allow pillar.get to merge list as well as dictionaries
...
This also gets rid of the exception that used to be raised when the
default was not of the proper type, and instead skips merging in those
cases.
2017-04-06 12:24:22 -05:00
Erik Johnson
a6d68f50fe
Merge remote-tracking branch 'upstream/2016.3' into merge-2016.3-2016.11
2017-04-06 10:15:47 -05:00
Bo Maryniuk
aba94495a5
Lintfix (Py3 code compat)
2017-04-05 22:56:29 +02:00
Ch3LL
7710355e3a
check for salt install fail on vultur test
2017-04-05 14:39:31 -06:00
Erik Johnson
78b4798b1b
Update compile_template test to use StringIO
2017-04-04 15:41:43 -05:00
Erik Johnson
a6183d93d3
Preserve windows newlines in salt.template.compile_template()
...
Test included.
2017-04-04 15:41:43 -05:00
Mike Place
8da27c9e1d
Merge pull request #40306 from terminalmage/issue40279
...
Don't use context caching for gathering systemd services
2017-04-04 14:36:38 -06:00
Mike Place
0ed385210f
Merge pull request #40465 from rallytime/fix-37699
...
Artifactory Execution & State Module: Fixup Error Handling
2017-04-04 14:12:21 -06:00
rallytime
ede4c28887
Group checks for failhard setting in () in state.check_failhard function
...
Fixes #38683
When two states combine the `require`, `failhard`, and `order` options,
the `order` option should be ignored because `require` is present. Then
the `failhard` option should make the state run fail.
The check for "failhard" in the `check_failhard` function in the state
compiler was too broad. We want "failhard" to be true AND tag to be in
the `running` dict. Without the parens around the first OR statement,
we were bypassing the AND requirement because failhard was found.
Since the second state's tag was not found in the running dict, the state
run stacktraces on a KeyError.
2017-04-03 14:41:54 -06:00
Erik Johnson
1e2a04cfc5
Backport auth and custom registry fixes from #40480 to 2016.3 branch
2017-04-03 13:20:53 -05:00
rallytime
8f084f7056
Update unit test to look for actual string comment
2017-03-31 15:34:24 -06:00
Mike Place
fdb0250c95
Merge pull request #40429 from DSRCorporation/features/39275_memcache
...
MemCache - a minion data cache booster.
2017-03-31 14:20:59 -06:00
Dmitry Kuzmenko
4475d1757d
In-memory minion data cache.
2017-03-31 19:38:04 +03:00
rallytime
0da4c46b68
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/utils/__init__.py
- salt/utils/gitfs.py
- tests/unit/modules/ssh_test.py
2017-03-31 09:59:59 -06:00
Bo Maryniuk
9f9dc6e4e7
Add unit test case for fileclient
2017-03-31 13:40:36 +02:00
Mike Place
c26f4cc76c
Merge pull request #40371 from terminalmage/pr-40344
...
Fix path handling for masterless gitfs on Windows
2017-03-30 16:36:20 -06:00
Mike Place
132d8b7b88
Merge pull request #40376 from nmadhok/2016.11
...
Backporting changes in vmware cloud driver from develop branch to 2016.11 branch
2017-03-30 16:35:12 -06:00
Dheeraj
77a40a0c44
Lint fixes
2017-03-30 10:31:16 +05:30
Dheeraj
8c1adfafd5
More complete fix for 39692
...
The existing fix did not work if the profile name itself had a dash `-`.
For example - `virtual-guest`. This commit fixes that by using `split('- ')`
rather than `split('-')`. This commit also provides two simple tests for the
`list_()` function to emulate behaviour of both old and new tuned-adm versions
Fixes #39692
2017-03-30 10:31:16 +05:30
Nitin Madhok
dd62310941
Adding unit tests for vmware_test
2017-03-30 00:54:57 -04:00
Nitin Madhok
034ef30f7c
Remove old vmware unit tests
2017-03-30 00:53:09 -04:00
rallytime
99c8dcc18e
Handle AttributeError for dockerng_mod.docker attempt fails and docker is installed
...
When we hit that attribute error, we need to set the docker version
variable to a tuple starting with 0 so we can use it in other test
comparisons. If docker is installed, but at a lower version, we will
see this attribute error.
Fixes the test failure on the 2016.11 branch on CentOS 6 VMs.
2017-03-29 10:28:51 -06:00
rallytime
96259d6c63
Lint fix
2017-03-28 17:12:56 -06:00
Nicole Thomas
2febd05896
Merge pull request #40372 from zer0def/pip-cache-fixes
...
Fixes related to cache directory argument changes in pip>=6.
2017-03-28 16:48:40 -06:00
rallytime
4f7ac1431e
Create a unit test for the _replace_auth_key function in the ssh module
...
References Pull Request #39855
2017-03-28 16:27:53 -06:00
Erik Johnson
cafa08d8e0
Add ability for salt.utils.path_join to force the use of posixpath
...
Also remove unused and unnecessary behavior from this function when the
first path component is of single length. An empty first parameter to
this function will normalze to "." and result in an incorrectly-joined
result.
2017-03-28 14:18:29 -05:00
Mike Place
2d2cb5b837
Merge pull request #40333 from gtmanfred/2016.11
...
fix some test=True comments
2017-03-28 10:11:00 -06:00
Erik Johnson
808ad76419
systemd.py: when getting all services, don't repeat gathering of systemd services
...
Now that we are not caching these in the context dunder, we should pass
them into this function so that we don't repeat gathering the systemd
services inside _get_sysv_services().
Also, this fixes an incorrect change to the mocking that was apparently
made at some point to the get_all unit test.
2017-03-28 10:52:50 -05:00
zer0def
d68067f1d7
Merge remote-tracking branch 'main/2016.11' into pip-cache-fixes
2017-03-28 16:39:19 +02:00
zer0def
4f23a23ca8
Fixed the test_install_download_cache_argument_in_resulting_command
to accomodate introduced cache directory argument fixes and renamed it to test_install_download_cache_dir_arguments_in_resulting_command
.
2017-03-28 11:53:54 +02:00
Daniel Wallace
5596620dfb
fix some test=True comments
...
Alternatives should say it is setting the symlink to `path` instead of
`current` which it is already set to
ssh_auth.absent should say it is going to remove the key, unless the status is
set to `add`, then it is already absent
Fixes #40322
Fixes #40321
2017-03-27 18:19:52 -05:00
Mike Place
2b7b2f1cb4
Merge pull request #40285 from rallytime/docker-test-fixes
...
Dockerng unit tests fixes: isolate global variables
2017-03-27 17:05:02 -06:00
Mike Place
ceba1b9bc6
Merge pull request #40337 from Ch3LL/add_unzip_test
...
Add archive.extracted with use_cmd_unzip argument
2017-03-27 15:00:22 -06:00
rallytime
0f263a52e0
Mock out the get_client_args mocks in the dockerng module tests more aggressively
...
The tests pass fine when run independently, but when the full unit test suite
runs, the dockerng state tests are setting global values. This change makes the
module tests avoid those problem by relying on its own mocks.
2017-03-27 11:27:52 -06:00
Ch3LL
8b21b4c8bb
add use_cmd_unzip test
2017-03-27 10:32:27 -06:00
rallytime
c65d602f60
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/cli/batch.py
2017-03-24 17:11:49 -06:00
Pablo Suárez Hernández
9174e6f281
Fixes testing opts dict for batch unit tests
2017-03-24 17:22:57 +00:00
rallytime
f1352fe253
Add one more dockerng.version mock that was missed previously
2017-03-24 10:57:12 -06:00
rallytime
0d31d2c4d1
Add a couple more patches for docker.version information
2017-03-23 12:57:46 -06:00
rallytime
a9c5eebaf0
Clean up dockerng unit tests to avoid global variables and fixup some patching
2017-03-23 12:44:57 -06:00
Mike Place
e9a4e8548b
Merge pull request #40210 from rallytime/test-skip
...
Skip flaky test for now
2017-03-22 10:34:40 -06:00
rallytime
0ba773d86b
Skip flaky test for now
2017-03-21 15:47:20 -06:00
Nicole Thomas
82cee58e72
Merge pull request #40194 from terminalmage/fix-docker-test-imports
...
Change imports for dockerng tests
2017-03-21 13:34:54 -06:00
Erik Johnson
6caedb0de8
Change imports for dockerng tests
...
This should fix path issues in the test suite.
2017-03-21 11:56:29 -05:00
Mike Place
d9cb222aa8
Merge pull request #40034 from sp1r/fix-pillar-scheduling
...
Disallow modification of jobs from pillar with schedule execution module
2017-03-21 10:36:33 -06:00
Mike Place
aec504173a
Merge pull request #40162 from rallytime/archive-integration-test-fixes
...
Make sure the tornado web server is stopped at the end of the test class
2017-03-20 14:35:20 -06:00
Mike Place
461e15f0f4
Merge pull request #40158 from rallytime/merge-2016.11
...
[2016.11] Merge forward from 2016.3 to 2016.11
2017-03-20 14:34:22 -06:00
rallytime
f32d8a8683
Don't try to run the dockerng unit tests if docker-py is missing
2017-03-20 13:34:15 -06:00
rallytime
dd193cc740
Make sure the tornado web server is stopped at the end of the test class
...
The tornado web aplication that was set up in the archive tests, and then
duplicated in the remote file integration tests, starts the web server,
but never stops it. This creates a stacktrace that hangs the other test
file that attempts to start the web server.
The Application class has a `listen()` function, but not a `stop()` function.
The change uses the `HTTPServer` class to set up the listening server, but
also has the necessary `stop()` function. (The `listen()` function from the
`Application` class just calls out to the `HTTPServer`'s `listen()` function,
so this works nicely here.)
We can then call the `stop()` function in the `tearDownClass` class method.
I also removed some duplicate STATE_DIR definitions.
2017-03-20 13:08:17 -06:00
rallytime
f4d4768a6d
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/utils/__init__.py
2017-03-20 11:08:28 -06:00
Ivan Babrou
af1545deed
Use the first address if cannot connect to any
...
This fixes #39995 . The previous work happened in #39289 .
2017-03-18 21:09:16 -07:00
Vyacheslav Spiridonov
9d5db1910c
fix initial data structure for schedule tests
2017-03-15 21:02:08 +03:00
Vyacheslav Spiridonov
d3a2489c9c
schedule tests to ensure pillar jobs are not modified
2017-03-15 18:36:15 +03:00
rallytime
029f28bbd5
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/modules/cmdmod.py
2017-03-14 15:44:38 -06:00
Nicole Thomas
0ec81a4cde
Fixup a syntax error
2017-03-14 11:15:02 -06:00
Erik Johnson
5d84b40bfd
Attempt to fix failing grains tests in 2016.3
...
The tearDown appears to only be removing the grain if it matches a
specific value. This may be leading to the grain value not being blank
at the time the next test is run.
Instead of only deleting the grain if it matches a specific value,
instead delete all items from that grain to ensure that it is empty for
the next test.
2017-03-14 11:25:15 -05:00
Mike Place
899e037f0a
Merge pull request #39932 from rallytime/cp-beacon-fixes
...
Cherry-pick the beacon fixes made in #39930 to 2016.11
2017-03-09 17:21:08 -07:00
Nicole Thomas
c2d4d17589
Merge pull request #39770 from rallytime/merge-2016.11
...
[2016.11] Merge forward from 2016.3 to 2016.11
2017-03-09 15:00:17 -07:00
rallytime
4a52cca926
Pylint fixes
2017-03-09 14:55:33 -07:00
Pedro Algarvio
4627c4ea6d
Code cleanup and make sure the beacons config file is deleted after testing
...
Conflicts:
- tests/integration/modules/beacons.py
2017-03-09 13:35:16 -07:00
Pedro Algarvio
be06df9b64
Remove *args, **kwargs
. Not needed, not useful.
2017-03-09 13:11:07 -07:00
Pedro Algarvio
4a242829ee
These tests aren't even using mock!
...
Conflicts:
- tests/unit/beacons/inotify_beacon_test.py
2017-03-09 13:10:43 -07:00
Pedro Algarvio
6408b123e7
These tests are not destructive
...
Conflicts:
- tests/unit/beacons/inotify_beacon_test.py
2017-03-09 13:09:32 -07:00
Pedro Algarvio
50e51b5b9d
The beacons configuration is now a list. Handle it!
2017-03-09 13:00:41 -07:00
Nicole Thomas
8ecc719f90
Merge pull request #39852 from rallytime/bp-39651
...
Back-port #39651 to 2016.11
2017-03-06 14:18:33 -07:00
dharper
e2a232921d
Checking instance exists in master._get_cached_minion_data when cache.fetch returns None
2017-03-06 09:09:03 -07:00
Mike Place
9f70ad7164
Merge pull request #39472 from whiteinge/_reformat_low-update
...
Update _reformat_low to not run kwarg dicts through parse_input
2017-03-02 10:46:19 -07:00
Mike Place
7dfc4b572a
Merge pull request #39727 from terminalmage/issue39627
...
salt.modules.state: check gathered pillar for errors instead of in-memory pillar
2017-03-02 10:06:42 -07:00
Mike Place
555f1473f6
Merge pull request #39788 from cachedout/disable_api_test
...
Disable one API test that is flaky
2017-03-02 09:17:31 -07:00
Mike Place
523e377b33
Disable one API test that is flaky
2017-03-02 09:16:43 -07:00
rallytime
776a9431b9
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/minion.py
2017-03-01 16:07:14 -07:00
Erik Johnson
3bb0ebd872
Update tests for PR 39727
...
Also reduce the complexity of some of the mocking by adding the cachedir
to the global state.__opts__.
2017-03-01 12:10:28 -06:00
Erik Johnson
64db0b8563
Add integration tests for remote file sources
2017-03-01 10:57:06 -06:00
rallytime
756f1de2d2
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/states/file.py
2017-02-27 13:13:46 -07:00
Erik Johnson
5a3c099e4f
Rewrite the tests_valid_docs test
...
This uses a function in the runtests_helpers custom module to perform
all the logic, and only returns what failed the test. This saves us from
having to return the entire contents of sys.doc (as well as log all of
the function calls), and also removes the need to run sys.doc in batches
to get around the "max message size" issue.
2017-02-26 12:21:00 -06:00