Pedro Algarvio
2ebd04e7ce
Use a temporary configuration
2017-04-01 14:26:11 +01:00
Pedro Algarvio
26e60e825c
Allow creating a temporary configuration to be used for a single test
2017-04-01 14:25:55 +01:00
Pedro Algarvio
4f068f5217
Misplaced test. Use tests.support.unit instead.
2017-04-01 14:23:00 +01:00
Pedro Algarvio
f8d7530a58
Proper mocking.
2017-04-01 14:22:59 +01:00
Pedro Algarvio
a15aa32404
Proper mocking.
2017-04-01 14:22:59 +01:00
Pedro Algarvio
a0245b049f
Proper mocking.
2017-04-01 14:22:59 +01:00
Pedro Algarvio
174625618a
Add mixin to assert XML equality
2017-04-01 14:22:58 +01:00
Pedro Algarvio
22b15a134e
Proper mocking.
2017-04-01 14:22:58 +01:00
Pedro Algarvio
06bc81dc3d
Proper mocking.
2017-04-01 14:22:58 +01:00
Pedro Algarvio
3a5ec6bb0a
Minor lint fix
2017-04-01 14:22:58 +01:00
Pedro Algarvio
9a11538b54
Stop using deprecated TestCase methods
2017-04-01 14:22:57 +01:00
Pedro Algarvio
9cf1b37b54
Take care of some more deprecated TestCase methods
2017-04-01 14:22:57 +01:00
Pedro Algarvio
fbd858c455
Lint
2017-04-01 14:22:57 +01:00
Pedro Algarvio
c28f896adb
Py3 compat
2017-04-01 14:22:57 +01:00
Pedro Algarvio
fd6d031804
We now sync all on minion connect
2017-04-01 14:22:56 +01:00
Pedro Algarvio
c42b6ff4b5
This just feels wrong
2017-04-01 14:22:56 +01:00
Pedro Algarvio
82eea9057a
Proper mocking
2017-04-01 14:22:56 +01:00
Pedro Algarvio
5950c1dd53
Minor logic fix
2017-04-01 14:22:55 +01:00
Pedro Algarvio
d86dbf466a
Use tests.support.unit instead
2017-04-01 14:22:55 +01:00
Pedro Algarvio
104f7a71f2
Why do need the system grains here?! This is an expensive call.
2017-04-01 14:22:55 +01:00
Pedro Algarvio
f82fa73fd7
Pylint disable
2017-04-01 14:22:55 +01:00
Pedro Algarvio
83db7547e7
Proper mocking.
2017-04-01 14:22:55 +01:00
Pedro Algarvio
9dbdee68ba
Move tests to the right test module
2017-04-01 14:22:54 +01:00
Pedro Algarvio
4ef895e064
Add file to ignored paths
2017-04-01 14:22:54 +01:00
Pedro Algarvio
e72ab757a9
Use random ports. Tests cleanup.
2017-04-01 14:22:54 +01:00
Pedro Algarvio
f991143fa7
Don't run these tests under Py3. The PSF takes care of that.
2017-04-01 14:22:54 +01:00
Pedro Algarvio
f9b58aa2e2
This is not an integration test. Skip test.
...
Skipping tests since I have no clue what is supposed to be tested here
with that `raise Exception(ret)` at the end.
2017-04-01 14:22:53 +01:00
Pedro Algarvio
94c7df78ed
Skip tests on required missing libs
2017-04-01 14:22:53 +01:00
Pedro Algarvio
cde0af757e
Update tests to the new sorting
2017-04-01 14:22:53 +01:00
Pedro Algarvio
dc7169f8bd
Rename decorators in order not to be picked up by pytest as test cases
2017-04-01 14:22:53 +01:00
Pedro Algarvio
a0ecc4ff00
Fix pytest loading if a system wide salt package is installed
2017-04-01 14:22:52 +01:00
Pedro Algarvio
da7192014e
Py3 compat
2017-04-01 14:22:52 +01:00
Pedro Algarvio
655e8fde1a
Transplant configurations right after CLI parsing is complete
2017-04-01 14:22:52 +01:00
Pedro Algarvio
a013f792c6
We actually need to fix the pip state to recognize new/deprecated options
2017-04-01 14:22:52 +01:00
Pedro Algarvio
22c753afba
Disable pip wheel usage for this test.
...
The pip cache dir will be owned by root and not the user created.
Revisit this issue ASAP.
2017-04-01 14:22:52 +01:00
Pedro Algarvio
0bf7684b8c
Make the option properties available in the config mixin instead
2017-04-01 14:22:51 +01:00
Pedro Algarvio
d05028e88c
These are not integration tests
2017-04-01 14:22:51 +01:00
Mike Place
f589e3c4b6
Merge pull request #40457 from rallytime/merge-develop
...
[develop] Merge forward from 2016.11 to develop
2017-03-31 14:43:50 -06:00
Mike Place
d0ed032364
Merge pull request #40441 from Ch3LL/add_vmware_cloud_tests
...
Add vmware cloud tests
2017-03-31 14:06:25 -06:00
rallytime
55405bcd30
Renamed unit.modules.tuned_test.py to test_tuned.py and updated salttesting imports
2017-03-31 12:23:46 -06:00
rallytime
2d73fca4d0
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/cloud/clouds/vmware.py
- salt/modules/win_dsc.py
- salt/modules/win_psget.py
- tests/unit/utils/vmware_test/test_cluster.py
- tests/unit/utils/vmware_test/test_common.py
- tests/unit/utils/vmware_test/test_connection.py
- tests/unit/utils/vmware_test/test_datacenter.py
- tests/unit/utils/vmware_test/test_host.py
2017-03-31 10:09:56 -06:00
Ch3LL
89d1f3943d
remove unnecessary try blocks
2017-03-31 09:46:34 -06:00
Nicole Thomas
3d6d6de190
Merge pull request #40405 from twangboy/fix_win_file
...
Add missing import to win_file, remove missing tests from whitelist
2017-03-31 09:31:57 -06:00
rajvidhimar
8d83d482c5
Correct the junos unit tests which mock getattr
2017-03-31 16:19:21 +05:30
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
Nicole Thomas
fbbe0127f5
Merge pull request #40432 from rallytime/merge-develop
...
[develop] Merge forward from 2016.11 to develop
2017-03-30 15:57:57 -06:00
Ch3LL
5cd34a9083
finish the tests
2017-03-30 15:57:53 -06:00
Mike Place
9d19bb635c
Merge pull request #40428 from rallytime/statemod-test-fix
...
Update mocking for unit.test_statemod tests
2017-03-30 15:37:10 -06:00
Mike Place
c510db4a7f
Merge pull request #40426 from rallytime/reactor-flaky-decorator
...
Add the @flaky decorator to the reactor integration test
2017-03-30 15:01:26 -06:00
Lukas Raska
24cc9b2a0c
[WIP] Refactor Elasticsearch execution and state modules ( #40192 )
...
* Add Ingest pipeline methods to Elasticsearch execution module
* Refactor Elasticsearch execution module and properly handle exceptions
* Throw CommandExecutionError in methods applicable for different Elasticsearch versions
* Refactor Elasticsearch states to reflect execution module changes
* Add state for managing Elasticsearch pipelines
* Fix few typos in Elasticsearch module, return None when deleted document doesn't exist
* Implements stats and health methods for Elasticsearch
* Add Elasticsearch methods to open/close index, manage search templates and repositories
* Merge existing Elasticsearch states into single one, add Search Template handling
* Add index alias state for Elasticsearch, fix documentation
* Catch all global exceptions in Elasticsearch states, unit test all of them
* Implement few Unit tests for Elasticsearch execution module, merge fixes into deprecated elastic states
* Implement additional unit tests for Elasticsearch execution module
* Finalize Elasticsearch module documentation
2017-03-30 13:22:58 -06:00