rallytime
815c8b38d5
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-08 10:34:32 -06:00
rallytime
c539333924
Use six.moves.StringIO()
2016-07-08 09:30:58 -06:00
rallytime
f8a3622be7
Rename unit.states.boto_secgroup to unit.states.boto_secgroup_test
2016-07-07 21:29:36 -06:00
rallytime
1f4a75f268
Move StringIO import to use six for tests.unit.modules.zypper_test.py
2016-07-07 19:27:30 -06:00
rallytime
ceefb6e34c
Rename tests.unit.simple to tests.unit.simple_test
...
These tests are not getting run automatically in a ./runtests.py -u
or on Jenkins runs. This name changes allows them to run automatically.
2016-07-07 17:12:27 -06:00
rallytime
7c216c3a1d
Fix the unit.grains.core_test tests to run with Python3
2016-07-07 16:41:21 -06:00
rallytime
86b7c71e09
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/glusterfs.py
- salt/states/pkg.py
2016-07-07 13:37:58 -06:00
rallytime
27988dde48
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- doc/ref/configuration/minion.rst
2016-07-07 12:31:12 -06:00
Nicole Thomas
3ebba020b6
Rename some unit test files by adding _test ( #34503 )
...
These two test files are currently not running automatically on Jenkins.
Renaming these files will add them to the full runtests.py run.
2016-07-07 12:05:08 -04:00
rallytime
2b307b7ea1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/states/file.py
- tests/unit/states/file_test.py
2016-07-06 09:12:25 -06:00
Duncan Mac-Vicar P
59d8ce480e
implement keyword arguments for dockerng.call
2016-07-06 14:11:17 +02:00
Duncan Mac-Vicar P
d3ee81c561
testcase for call
2016-07-06 11:49:39 +02:00
Bo Maryniuk
d1c2d5aaaa
Lintfix
2016-07-06 10:09:14 +02:00
Bo Maryniuk
88ab5f4755
Fix Python3 compat (StringIO)
2016-07-06 10:09:14 +02:00
Bo Maryniuk
f1d0961e69
Fix boolean comparison
2016-07-06 10:09:14 +02:00
Bo Maryniuk
f275378e24
Add unit test for update an object
2016-07-06 10:09:14 +02:00
Bo Maryniuk
6174f4ad4a
Fix imports
2016-07-06 10:09:14 +02:00
Bo Maryniuk
bf9ba65489
Add unit test for deleting objects
2016-07-06 10:09:14 +02:00
Bo Maryniuk
1ce88be0ef
Add unit test for criteria matcher
2016-07-06 10:09:14 +02:00
Bo Maryniuk
a20019d859
Add unit test for "matches" criteria selector
2016-07-06 10:09:14 +02:00
Bo Maryniuk
844eefd758
Add unit test for "less than" criteria selector
2016-07-06 10:09:14 +02:00
Bo Maryniuk
fac88ac41b
Add unit test for "equals" criteria selector
2016-07-06 10:09:14 +02:00
Bo Maryniuk
1dfe81bfe6
Add unit test for "more than" criteria selector
2016-07-06 10:09:14 +02:00
Bo Maryniuk
99848659c9
Add unit test on getting objects
2016-07-06 10:09:14 +02:00
Bo Maryniuk
bc1a8b7e45
Accept content in Writer
2016-07-06 10:09:14 +02:00
Bo Maryniuk
c4c2ac7e70
Add object storing unit test
2016-07-06 10:09:14 +02:00
Bo Maryniuk
8e537ccc9e
Reset data in Writable
2016-07-06 10:09:14 +02:00
Bo Maryniuk
c744aa1caf
Add unit test for database listing
2016-07-06 10:09:14 +02:00
Bo Maryniuk
f7dc2b9c84
Add unit test for object validation
2016-07-06 10:09:14 +02:00
Bo Maryniuk
234e342aa7
Add unit test for object serialization
2016-07-06 10:09:14 +02:00
Bo Maryniuk
0a177297f4
Rename Writable class
2016-07-06 10:09:14 +02:00
Bo Maryniuk
8927d6fef6
Rename "TestEntity" as it accidentally picked by PyTest
2016-07-06 10:09:14 +02:00
Bo Maryniuk
4c7e4d36b7
Fix docstring
2016-07-06 10:09:14 +02:00
Bo Maryniuk
1df6b0a6a9
Add test creating table
2016-07-06 10:09:14 +02:00
Bo Maryniuk
54e5655e11
Add unit test for database close
2016-07-06 10:09:14 +02:00
Bo Maryniuk
f9c40170e5
Add initial tests for fsdb
2016-07-06 10:09:14 +02:00
Bo Maryniuk
eff3f4ef66
Fix broken tests: add os.mkdir mocking
2016-07-06 10:09:14 +02:00
Bo Maryniuk
e85343df9b
Add licence to the inspector collector unit test
2016-07-06 10:09:14 +02:00
Duncan Mac-Vicar P
4e7e72e9c4
test return value
2016-07-06 09:37:14 +02:00
Duncan Mac-Vicar P
8aadb33d44
first version of building docker images
2016-07-06 09:14:49 +02:00
twangboy
78f7c530bb
Remove unit tests, integration tests written
2016-07-05 15:12:34 -06:00
Pablo Suarez Hernandez
dc4e51a040
some pylint fixes
2016-07-05 10:04:00 +02:00
Pablo Suarez Hernandez
dd3827e818
snapper module unit tests
2016-07-04 16:27:26 +01:00
Mike Place
ff83c6d219
Merge pull request #34346 from kraney/boto_sns_topic_absent_state_does_not_remove_associated_subscription_arns
...
added an optional parameter into boto_sns absent state to remove all …
2016-06-30 11:25:57 -07:00
Erik Johnson
20ed2c6bcf
Remove repr formatting flag in places where it is used solely for quoting ( #34183 )
...
* salt/cloud/__init__.py: remove repr formatting
* salt/cloud/clouds/azurearm.py: remove repr formatting
* salt/cloud/clouds/ec2.py: remove repr formatting
* salt/cloud/clouds/profitbricks.py: remove repr formatting
* salt/loader.py: remove repr formatting
* salt/modules/win_file.py: remove repr formatting
* salt/modules/zypper.py: remove repr formatting
* salt/pillar/consul_pillar.py: remove repr formatting
* salt/renderers/pyobjects.py: remove repr formatting
* salt/returners/sentry_return.py: remove repr formatting
* salt/states/bower.py: remove repr formatting
* salt/states/cabal.py: remove repr formatting
* salt/states/cmd.py: remove repr formatting
* salt/states/composer.py: remove repr formatting
* salt/states/win_network.py: remove repr formatting
* salt/states/eselect.py: remove repr formatting
* salt/states/file.py: remove repr formatting
* salt/states/htpasswd.py: remove repr formatting
* salt/states/memcached.py: remove repr formatting
* salt/states/npm.py: remove repr formatting
* salt/states/pip_state.py: remove repr formatting
* salt/states/pkg.py: remove repr formatting
* salt/states/pkgrepo.py: remove repr formatting
* salt/states/supervisord.py: remove repr formatting
* salt/states/timezone.py: remove repr formatting
* salt/states/virtualenv_mod.py: remove repr formatting
* salt/states/dockerio.py: remove repr formatting
* salt/states/win_system.py: remove repr formatting
* salt/utils/nb_popen.py: remove repr formatting
* salt/utils/cloud.py: remove repr formatting
* Add pylint disable due to legit usage of repr flag
See https://github.com/saltstack/salt-pylint/pull/6
* Fix composer tests
These tests needed to be updated because quoting was changed in the
state module in 9dc9146. There was an unnecessary !r used for the
exception class there, which means that instead of the exception class
being passed through the formatter and coming out with the equivalent
value of err.__str__(), we get a repr'ed instance of the exception class
(i.e. SaltException('',)) in the state output.
The unit test was asserting that we have that repr'ed instance of
SaltException in the output, a case of writing the test to confirm the
badly-conceived output in the state. This has also been corrected.
* salt/cloud/clouds/azurearm.py: lint fixes
* salt/modules/boto_s3_bucket.py: lint fixes
* salt/modules/minion.py: lint fixes
* salt/modules/reg.py: lint fixes
* salt/modules/testinframod.py: lint fixes
* salt/modules/win_iis.py: lint fixes
* salt/pillar/csvpillar.py: lint fixes
* salt/utils/win_functions.py: lint fixes
* salt/states/nxos.py: lint fixes
* salt/returners/mongo_future_return.py: lint fixes
* tests/integration/__init__.py: lint fixes
* tests/unit/context_test.py: lint fixes
* tests/integration/states/file.py: lint fixes
* tests/integration/utils/test_reactor.py: lint fixes
* tests/integration/utils/testprogram.py: lint fixes
* tests/unit/__init__.py: lint fixes
* tests/integration/shell/minion.py: lint fixes
* tests/unit/modules/boto_apigateway_test.py: lint fixes
* tests/unit/modules/boto_cognitoidentity_test.py: lint fixes
* tests/unit/modules/boto_elasticsearch_domain_test.py: lint fixes
* tests/unit/modules/k8s_test.py: lint fixes
* tests/unit/modules/reg_win_test.py: lint fixes
* tests/unit/states/boto_apigateway_test.py: lint fixes
* tests/unit/states/boto_cognitoidentity_test.py: lint fixes
* tests/unit/states/boto_elasticsearch_domain_test.py: lint fixes
2016-06-29 16:30:18 -04:00
rallytime
cc83fa151a
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/status.py
- salt/utils/__init__.py
- tests/unit/modules/boto_vpc_test.py
- tests/unit/modules/mount_test.py
- tests/unit/states/boto_vpc_test.py
2016-06-28 17:34:27 -06:00
rallytime
c87a108a12
Don't forget the pylint disables for range
2016-06-28 16:52:37 -06:00
rallytime
359e8ca2ce
Pylint fixes
2016-06-28 16:04:47 -06:00
rallytime
f9ab8ba46d
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-06-28 14:26:24 -06:00
Winston Liu
d4c1463cfa
added an optional parameter into boto_sns absent state to remove all subscriptions tied to the topic being removed.
2016-06-28 13:16:53 -07:00
Mike Place
80a659bb51
Merge pull request #34283 from sjorge/2016.3-mount-fstab
...
2016.3 mount vfstab support
2016-06-28 12:23:39 -07:00
Mike Place
4feea285d4
Merge pull request #34248 from anderbubble/bugfix/find-depth
...
Correct handling of min/maxdepth during file.find (#34217 )
2016-06-28 12:19:18 -07:00
Alessandro Ghedini
882c6c9c86
Do not force 'filter' table when flushing
...
The "table" argument is already part of the function signature, this means
that flush() will always force the "filter" table even when the user sets
a different one.
2016-06-28 15:40:50 +01:00
Jorge Schrauwen
b8c6948cd5
fixes broken rm_fstab test due to missing __grain__.kernel
2016-06-25 15:42:15 +02:00
rallytime
c2b52ccf9c
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/states/ipset.py
2016-06-24 16:03:11 -06:00
Jorge Schrauwen
c3667203bf
add test for vfstab
2016-06-24 23:33:39 +02:00
Jorge Schrauwen
80e9d1d278
set __grains__ for fstab unit test
2016-06-24 23:28:53 +02:00
rallytime
ae8ad9329c
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/renderers/gpg.py
- tests/unit/renderers/gpg_test.py
2016-06-24 14:45:37 -06:00
Jonathon Anderson
ed74415155
Addressed unit testing for salt.utils.find
...
In addition to addressing test failures introduced by this
bugfix branch, I've also added additional tests for the
proper behavior of min/maxdepth.
2016-06-24 14:06:17 -06:00
Mike Place
65c5675a3f
Merge pull request #34257 from rallytime/fix-34037
...
Use 'config_dir' setting instead of CONFIG_DIR in gpg renderer
2016-06-24 10:25:04 -07:00
rallytime
d7a5e9b10e
Remove test that doesn't actually test anything
2016-06-24 09:10:13 -06:00
Jorge Schrauwen
a09055cba7
Fix for #14915 ( #34254 )
...
* mount.swaps now works on solarish like systems
* mount.swapon / mount.swapoff supported on solarish platforms
* mount.active (and internal consumers) now work on all solarish platforms
* unit-tests - mount_tests should set kernel grain
2016-06-24 10:32:48 -04:00
rallytime
07f5ebdf38
Pylint fix
2016-06-24 08:28:25 -06:00
rallytime
ea048fd9b6
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/grains/core.py
- tests/unit/grains/core_test.py
2016-06-23 17:13:20 -06:00
Mike Place
e7c08bc620
Merge pull request #34167 from DSRCompany/issues/30762_ext_auth_acl
...
External auth can return dynamically generated ACL from auth call.
2016-06-23 14:26:44 -07:00
Mike Place
cb5399787c
Merge pull request #34136 from meaksh/salt-suse-os-detection-2015.8
...
Fixed behavior for SUSE OS grains in 2015.8
2016-06-23 13:24:58 -07:00
Mike Place
3acda896f2
Merge pull request #34134 from meaksh/salt-suse-os-detection
...
Fixed behavior for SUSE OS grains in 2016.3
2016-06-23 13:24:51 -07:00
Mike Place
f65535a307
Merge pull request #34220 from LeadSift/develop
...
Fixes #34181 no more newlines in long yaml encodes
2016-06-23 10:51:48 -07:00
Justin Anderson
4fc44bd2f2
Updated winrepo_test ( #34227 )
...
Due to changes made in https://github.com/saltstack/salt/pull/34004 ,
specifically the "Universal method for everywhere" addition, we
no longer needed to mock the return values as this gets the correct
path.
2016-06-23 13:05:49 -04:00
rallytime
8cec6f3fb4
Fixup test failure
2016-06-23 09:38:49 -06:00
Hatem Nassrat
9f16d6019c
Fixes #34181 no more newlines in long yaml encodes
2016-06-22 18:35:19 +00:00
rallytime
8479c45728
Merge branch '2016.3' into 'develop'
...
No conflicts.
2016-06-21 17:29:44 -06:00
rallytime
318c2ed6a1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cli/salt.py
- salt/modules/grains.py
- tests/unit/modules/boto_vpc_test.py
2016-06-21 16:03:31 -06:00
rallytime
8e36e90966
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- tests/unit/modules/boto_vpc_test.py
2016-06-21 14:47:23 -06:00
Dmitry Kuzmenko
45a3601172
Minor lint fix.
2016-06-21 20:47:55 +03:00
Dmitry Kuzmenko
fca16a93fa
External auth can return dynamically generated ACL from auth call.
2016-06-21 15:02:03 +03:00
Mike Place
8f714138eb
Use .next() in contextdict test for py3 ( #34106 )
2016-06-20 19:32:34 -04:00
Thomas S Hatch
3dbf7119ce
Merge pull request #34088 from Unity-Technologies/osx/mac_defaults_absent
...
Osx/mac defaults absent
2016-06-20 13:30:40 -06:00
Justin Anderson
b7ac6c735a
Moved imports to top, out of _get_moto_version function
2016-06-20 13:20:43 -06:00
Justin Anderson
02f9ba99ba
Updated version check. Moved check into it's own function
2016-06-20 10:33:13 -06:00
Justin Anderson
d445026c56
Updated test to work with new moto version. Changed strings to unicode
2016-06-20 09:26:39 -06:00
Pablo Suárez Hernández
97f1958863
some cleanup and renaming
2016-06-20 15:47:34 +01:00
Pablo Suárez Hernández
23ce0b431b
some cleanup and renaming
2016-06-20 15:39:19 +01:00
Pablo Suárez Hernández
548971bdc9
Fix for SUSE OS grains in 2015.8
2016-06-20 13:13:00 +01:00
Pablo Suárez Hernández
44eda2ad9f
Fix for openSUSE Tumbleweed
2016-06-20 12:04:10 +01:00
Pablo Suárez Hernández
0d4a710d86
fixes for fopen mock and some os_release_map for SLES11SP3
2016-06-20 11:56:06 +01:00
Pablo Suárez Hernández
d6410a03b8
unit tests for SUSE os grains detection
2016-06-20 11:22:01 +01:00
Nicole Thomas
3382bc5c28
Merge pull request #34076 from rallytime/merge-develop
...
[develop] Merge forward from 2016.3 to develop
2016-06-17 15:13:30 -04:00
Henrik Holmboe
523b2acae9
return_valute -> return_value ( #34091 )
2016-06-17 13:02:07 -04:00
rallytime
0f92f3420d
Change 'Suse' to 'SUSE' in inspect_collector_test
...
This is needed due to the change in #33564
2016-06-17 10:56:42 -06:00
Thomas S Hatch
c05296b035
Merge pull request #34004 from isbm/isbm-no-minionid-sorting-dev
...
Complete rewrite how Minion ID is generated (dev)
2016-06-17 09:15:58 -06:00
Daniel Hobley
182373344e
Moved to using run_all in the absent function
...
- Fixed unit tests
2016-06-17 16:13:38 +02:00
joelc
f16839c83b
typo
2016-06-17 08:31:49 -05:00
joelc
ec31f7a7d4
Adds delete functionality to mac_defaults
2016-06-17 08:25:42 -05:00
Pablo Suárez Hernández
d78d57b717
Test fixed: get OS grain from /etc/os-release if possible
2016-06-17 13:32:57 +01:00
Pablo Suarez Hernandez
d80e0532ff
fix: osarch_mock
2016-06-17 13:32:57 +01:00
Pablo Suarez Hernandez
db00ec756d
osarch mock for unit test
2016-06-17 13:32:57 +01:00
Pablo Suarez Hernandez
dabc5cab7e
lint fix
2016-06-17 13:32:56 +01:00
Pablo Suarez Hernandez
9ac514724b
testing if SUSE os grain is set from /etc/os-release
2016-06-17 13:32:56 +01:00
rallytime
d957c29704
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/master.py
- salt/utils/parsers.py
2016-06-16 17:08:39 -06:00
Thomas S Hatch
5a792caa57
Merge pull request #34068 from jfindlay/disk_capacity
...
Add docs and tests to disk state
2016-06-16 15:18:13 -06:00
Justin Findlay
dca04727b5
states.disk: rewrite unit tests
2016-06-16 12:49:36 -06:00
Thomas S Hatch
c76123767c
Merge pull request #33903 from meaksh/salt-os-family-does-not-detect-SLES-for-SAP
...
Fetching grains['os'] from /etc/os-release on SUSE systems if it is possible
2016-06-16 11:21:09 -06:00
Thomas S Hatch
bf3e7c83b0
Merge pull request #33837 from lorengordon/masterless-orchestration
...
Support salt.state orchestration in masterless mode
2016-06-16 11:16:53 -06:00
rallytime
9d049e28e5
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/win_pkg.py
- salt/states/disk.py
2016-06-15 17:13:26 -06:00
Thomas S Hatch
73ff11585e
Merge pull request #33987 from isbm/isbm-inspectlib-cleanup
...
inspectlib cleanup
2016-06-15 16:09:31 -06:00
Nicole Thomas
f546a00dc9
Merge pull request #34025 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-06-15 15:41:00 -04:00
Loren Gordon
f7fd2962cb
Update saltmod tests to use master __opts__
2016-06-15 14:12:53 -04:00
Bo Maryniuk
6dcdc59f7e
Fix lint: unused import
2016-06-15 14:41:43 +02:00
Bo Maryniuk
921c399305
Add unit test: addrinfo from the raw socket should be picked up if all other socket checks had failed to localhost
2016-06-15 14:09:12 +02:00
Bo Maryniuk
4df1b542de
Add unit test: check if FQDN is picked up
2016-06-15 14:08:41 +02:00
Bo Maryniuk
a31b7aedfc
Add unit test: minion ID should be localhost, if everything is localhost.
2016-06-15 14:08:13 +02:00
Bo Maryniuk
97ef3bdb76
Test fix: only non-localhost IP should persist
2016-06-15 14:07:29 +02:00
Bo Maryniuk
263c039db9
Test fix: look for attribute name only when other socket checks had failed
2016-06-15 14:06:50 +02:00
Bo Maryniuk
be00b90067
Remove unnecessary tests: no fallback to what was already looked at
2016-06-15 13:45:54 +02:00
Bo Maryniuk
2dc9e693f5
Fix lint
2016-06-14 16:37:11 +02:00
Bo Maryniuk
ef84253e7e
Fix netmask test.
2016-06-14 16:34:44 +02:00
Bo Maryniuk
ffeaff003f
Fix typo
2016-06-14 16:33:18 +02:00
Bo Maryniuk
22f3bab2ca
Fix the documentation
2016-06-14 16:29:07 +02:00
Bo Maryniuk
085901470e
Add unit test check for non-localhost IP is accepted as a minion ID
2016-06-14 16:29:07 +02:00
Bo Maryniuk
bce6798e86
Add unit test to check if any of localhost or local IP addresses are filtered
2016-06-14 16:29:07 +02:00
Bo Maryniuk
47755c69ea
Add unit test to filter out localhost from the first occurrence
2016-06-14 16:29:07 +02:00
Bo Maryniuk
15ecb083e3
Add test for the first in line from platform.node is used (mostly)
2016-06-14 16:29:06 +02:00
Bo Maryniuk
eed433ec60
Add unit test to check on duplicate hostnames in the pool
2016-06-14 16:29:06 +02:00
Bo Maryniuk
71a3e91f57
Add unit test for check if the minion ID is distinct in the pool
2016-06-14 16:29:06 +02:00
Bo Maryniuk
a3266c6f2f
Fix network test for Solaris
2016-06-14 16:29:06 +02:00
Bo Maryniuk
2d4a9939a9
Rename network unit test into a proper name
2016-06-14 16:29:06 +02:00
Bo Maryniuk
fe300ccf73
Lintfix
2016-06-14 09:39:04 +02:00
Bo Maryniuk
96423076b1
Add unit test for file tree
2016-06-14 00:25:08 +02:00
Justin Findlay
6cbe31e6c2
states.disk: rewrite unit tests
2016-06-13 16:13:40 -06:00
Bo Maryniuk
8975036b27
Add get_unmanaged_files test
2016-06-14 00:05:34 +02:00
Justin Findlay
6080846cce
acl.ClientACL: add unit tests ( #33684 )
2016-06-13 16:00:35 -04:00
rallytime
c57bcebaf8
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/states/boto_lambda.py
2016-06-13 11:18:53 -06:00
Bo Maryniuk
be5f12fcaf
Add initial unit test for inspectlib.collector.Inspector
2016-06-13 18:17:28 +02:00
Pablo Suárez Hernández
1afc12f6d1
Test fixed: get OS grain from /etc/os-release if possible
2016-06-13 10:19:17 +01:00
Adam Chainz
64d9a62f89
Convert readthedocs links for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-06-11 12:33:37 +01:00
rallytime
b4ab322ce1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/modules/saltutil.py
2016-06-10 13:41:53 -06:00
Nicolas Delaby
f806c7e290
[boto_lambda] handle ommitted Permissions parameter ( #33908 )
...
* a bit of pep8
* Don't fail if `Permssions` is None
2016-06-10 13:31:22 -04:00
Mike Place
abf5131c0a
Adds absolute value option to disk state ( #33918 )
2016-06-10 11:08:57 -04:00
Pablo Suarez Hernandez
a0693aafcb
fix: osarch_mock
2016-06-10 09:48:37 +01:00
Pablo Suarez Hernandez
1680f18556
osarch mock for unit test
2016-06-10 08:51:33 +01:00
Pablo Suarez Hernandez
63e2f27fa6
lint fix
2016-06-09 21:33:06 +01:00
rallytime
f078d57b57
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/rabbitmq.py
- salt/modules/win_servermanager.py
- salt/state.py
- salt/states/boto_s3_bucket.py
- salt/states/pip_state.py
- salt/states/win_servermanager.py
- tests/unit/modules/win_servermanager_test.py
- tests/unit/states/dockerng_test.py
2016-06-09 13:06:10 -06:00
Nicole Thomas
08a584b3e5
Merge pull request #33711 from rallytime/merge-develop-3
...
[develop] Merge forward from 2016.3 to develop
2016-06-09 14:12:48 -04:00
Pablo Suarez Hernandez
7f7800ffc9
testing if SUSE os grain is set from /etc/os-release
2016-06-09 15:09:00 +01:00
Justin Findlay
82f95429db
modules.random_org unit tests: skip if random.org down
2016-06-08 20:46:20 -06:00
Eu
3954529502
Fix naive fileserver map diff algorithm
...
Naively comparing sorted dict keys does not guarantee that maps are equal. We
must compare mtimes for filenames in case keys are the same to make sure there
isnt a modified file.
2016-06-08 16:36:39 -03:00
rallytime
595d4f2ac3
Fixup new groupadd tests for syntax change in 2016.3
2016-06-08 12:42:52 -06:00
rallytime
c5b4ec0b0f
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cli/salt.py
- salt/modules/groupadd.py
- salt/states/service.py
2016-06-08 11:20:18 -06:00
Mike Place
01aaf3e2a9
Merge pull request #33771 from twangboy/win_dism
...
Additional functionality to win_dism.py
2016-06-08 06:58:20 -07:00
Mike Place
f7b3d0eda0
Merge pull request #33839 from cachedout/fix_pkgresource_test_stacktrace
...
Fix another unit test stacktrace in pkg_resource
2016-06-08 06:32:55 -07:00
Mike Place
5f081ef31c
Merge pull request #33840 from cachedout/remove_matcher_unit_tests
...
Remove matcher tests
2016-06-08 06:31:41 -07:00
Nicolas Delaby
0d40e1c4f3
Add support for edge case when Cmd and Entrypoint can't be blanked
2016-06-08 10:46:24 +02:00
Mike Place
6297448377
Remove matcher tests
...
These all assert directly against mock objects. They're pointless.
2016-06-07 16:36:01 -06:00
Mike Place
435547a747
Fix another unit test stacktrace in pkg_resource
2016-06-07 15:55:52 -06:00
Mike Place
453fb1ac91
Fixing more stupid unit tests
...
This time win_servermanager
2016-06-07 15:33:12 -06:00
twangboy
9be45fe37a
Fix some more lint
2016-06-07 13:17:29 -06:00
twangboy
421dc97957
Fix/add unit tests for state
2016-06-07 12:52:01 -06:00
twangboy
8d66fac74c
Add missing unit tests
2016-06-07 09:53:22 -06:00
twangboy
60f856f73d
Fix unit tests for module
2016-06-06 18:33:29 -06:00
Mike Place
db3cc8dcee
Merge pull request #33779 from bodhi-space/develop
...
INFRA-1594 - Add various S3 functions needed for optionally emptying …
2016-06-06 14:52:07 -07:00
Tom Williams
102d696460
INFRA-1594 - fix up unit tests
2016-06-06 14:37:38 -04:00
Jeffrey 'jf' Lim
ffa788fd67
Fix minor typo in test name in tests/unit/states/dockerng_test.py
2016-06-07 01:11:30 +08:00
Justin Findlay
90aee79c39
states.service.mod_watch: update unit test
2016-06-06 10:54:16 -06:00
Dan Slimmon
f87bc347fd
Fixed ACL user comparison. Resolves #33754 .
2016-06-04 15:14:00 +00:00
Mike Place
a5684ed123
Merge pull request #33670 from rallytime/fix-33605
...
Handle non-ascii package names in state.format_log
2016-06-03 09:16:52 -07:00
Mike Place
11e39e7203
Merge pull request #33712 from meaksh/fix-for-groupadd-module-failures-in-SLE11-2015.8
...
Fix for groupadd execution module failures in SLES11 systems
2016-06-03 09:13:06 -07:00
C. R. Oldham
35bc42410f
Merge pull request #33705 from alexbleotu/json_schema_extension-gh
...
JSON Schema Extension
2016-06-03 08:42:18 -06:00
Alexandru Bleotu
d69ce3a84f
JSON Schema Extension
...
- added support for JSON schemas that validate complex JSON objects
(JSON objects that have as attributes other JSON objects)
2016-06-03 14:03:26 +01:00
Pablo Suárez Hernández
ab738416ba
pylint fix
2016-06-03 13:57:13 +01:00
Pablo Suárez Hernández
bf27e5d36e
test_members cleanup
2016-06-03 13:25:05 +01:00
Pablo Suárez Hernández
ba815dbf76
improvements on groupadd unit tests
2016-06-03 13:17:13 +01:00
Justin Findlay
87e018af2a
states.test.configurable_test_state: add unit tests
2016-06-02 17:20:36 -06:00
rallytime
59bd51f4c8
Update test to correct iteration
2016-06-02 14:32:21 -04:00
Mike Place
64c7dd7032
Merge pull request #33626 from evonzee/feature/issue-15749
...
Feature/issue 15749
2016-06-02 11:23:36 -07:00
Dmitry Kuzmenko
66bd75cd3b
New schedule tests and fixes
2016-06-02 17:14:50 +03:00
rallytime
9220ea0729
Merge branch '2016.3' into 'develop'
...
Conflicts:
- doc/conf.py
- salt/minion.py
- salt/modules/mac_brew.py
- salt/modules/pkgng.py
- salt/states/apache_module.py
- salt/states/ini_manage.py
- salt/states/win_servermanager.py
2016-06-02 10:13:34 -04:00
rallytime
b7accb0b3b
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/utils/aws.py
- salt/utils/s3.py
2016-06-02 10:01:43 -04:00
rallytime
a580d1c6e0
Add unit test for format_log change
2016-06-02 09:26:39 -04:00
twangboy
6c7b21676a
Fix lint and tests
2016-06-01 17:10:55 -06:00
Mike Place
5e022ff29c
Merge pull request #33581 from dincamihai/2015.8
...
Call zypper refresh after adding/modifying a repository
2016-06-01 15:25:11 -07:00
Pablo Suárez Hernández
f9b6858cf9
unit tests for udev execution module
...
tests improvements
2016-06-01 12:23:30 +01:00
rallytime
cd05d2bed1
Fix zypper test
2016-05-31 13:43:09 -04:00
Mike Place
9ed809f557
Merge pull request #33610 from tonybaloney/servicenow_fix
...
Change the ServiceNow module's non_structured_query method to support kwargs
2016-05-31 09:23:18 -07:00
Nicole Thomas
74a7b78e00
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- - - - - - - - - doc/conf.py
2016-05-31 11:02:20 -04:00
eric vz
c4f9de2d24
fix broken pacman module tests
2016-05-31 08:17:33 -05:00
eric vz
b49f9d5a19
one last, sad piece of lint
2016-05-31 01:03:15 -05:00
eric vz
7e0f1c0841
Fix (hopefully) the last linter issues
2016-05-31 00:34:13 -05:00
eric vz
803f219160
Clean up linter warnings
2016-05-31 00:07:31 -05:00
eric vz
bf25b8118e
switch pacman.group_info to return an array instead of a set so it's useful on command line
2016-05-30 23:08:59 -05:00
eric vz
94c6378c6e
Implement group_diff for pacman
2016-05-30 16:56:53 -05:00
eric vz
e89a43d1d0
Implement a basic group_info
2016-05-30 16:39:16 -05:00
eric vz
fa2fe986e6
Add pacman group_list and unit test
2016-05-30 15:33:59 -05:00
eric vz
595beadda7
formatting
2016-05-30 14:13:56 -05:00
eric vz
9e6013c4b7
move helper into a lambda
2016-05-30 14:13:36 -05:00
eric vz
0179d4d849
Add unit tests for pacman list packages
2016-05-30 09:37:17 -05:00
Mihai Dinca
788730ea72
DRY test
2016-05-30 13:52:46 +02:00
Mihai Dinca
1d3769ccfa
Improve zypper_patcher_config looks
2016-05-30 13:52:45 +02:00
Mihai Dinca
42d8d4195c
Assert only gpgautoimport: True works
2016-05-30 13:51:54 +02:00
Mihai Dinca
80bfbe5c52
Reduce dicts and lists to one line where possible
2016-05-30 10:47:41 +02:00