Commit Graph

1690 Commits

Author SHA1 Message Date
Jayesh Kariya
650435ec44 adding states/boto_dynamodb unit test case 2015-04-22 16:17:29 +05:30
Jayesh Kariya
4e5a101647 adding states/boto_cloudwatch_alarm unit test case 2015-04-22 16:15:54 +05:30
Jayesh Kariya
f78374e34a adding states/boto_asg unit test case 2015-04-22 16:13:14 +05:30
Felix Dreissig
468d392074 Adjust tests to the new return value of modules.localemod.gen_locale() 2015-04-21 19:11:33 -06:00
rallytime
cac386247c Skip the network state unit tests if sustem is on Python 2.6
These tests need to be refactored to be able to run on Python 2.6
2015-04-21 14:13:58 -06:00
rallytime
1be53aaf7d Remove Python 2.6 incompatible section of test
A portion of this test seems to be only testing the differences
between the way Python is using the help string between 2.6 and
2.7. This section doesn't really seem to be testing any salt code.
2015-04-21 12:25:31 -06:00
rallytime
3ce1cef592 Fix Python 2.6 syntax error in unit.modules.state_test.py 2015-04-21 11:01:33 -06:00
Nicole Thomas
f7ccbac1f2 Merge pull request #22884 from jfindlay/merge_22847
Merge 22847
2015-04-21 10:15:31 -06:00
Justin Findlay
8b2e60127d Merge pull request #22893 from s0undt3ch/hotfix/lint-2015.2
[2015.2] Lint Fixes
2015-04-21 09:24:49 -06:00
Justin Findlay
c2a5d59fb7 Merge pull request #22890 from jayeshka/postfix-unit-test
adding postfix unit test case
2015-04-21 09:01:18 -06:00
Justin Findlay
3640fa59bc Merge pull request #22889 from jayeshka/blockdev-states-unit-test
adding states/blockdev unit test case
2015-04-21 08:48:06 -06:00
Justin Findlay
7899914dbe fix deprecated artifactory state code 2015-04-21 08:38:23 -06:00
Pedro Algarvio
3ae68c4f7b Minor cosmetic changes in order not to disable the PEP8 PyLint code all together 2015-04-21 15:03:47 +01:00
Jayesh Kariya
2cfd1a4395 adding postfix unit test case 2015-04-21 17:36:07 +05:30
Jayesh Kariya
4aac4904b4 adding states/blockdev unit test case 2015-04-21 17:32:30 +05:30
Jayesh Kariya
7674fee99f adding states/aws_sqs unit test case 2015-04-21 17:30:48 +05:30
Justin Findlay
7fe3efa0f9 Merge pull request #22848 from jayeshka/apache-states-unit-test
adding states/apache unit test case
2015-04-20 21:44:42 -06:00
Justin Findlay
15e869d540 Merge pull request #22849 from jayeshka/apt-states-unit-test
adding states/apt unit test case
2015-04-20 21:44:15 -06:00
Justin Findlay
42761ee346 Merge pull request #22846 from jayeshka/at-states-unit-test
adding states/at unit test case
2015-04-20 21:33:28 -06:00
Justin Findlay
be16c24b0b Merge pull request #22845 from jayeshka/augeas-states-unit-test
adding states/augeas unit test case
2015-04-20 21:25:55 -06:00
Thomas S Hatch
d5d1ddc8d6 Merge pull request #22705 from jayeshka/win_dns_client_unit_test
adding win_dns_client test case and used @patch for mocking.
2015-04-20 09:50:22 -06:00
Justin Findlay
3651d21ad4 Merge pull request #22743 from jayeshka/netscaler-unit-test
adding netscaler unit test case
2015-04-20 09:25:17 -06:00
Jayesh Kariya
446121750d adding states/artifactory unit test case 2015-04-20 16:02:46 +05:30
Jayesh Kariya
58ffc0c756 adding states/augeas unit test case 2015-04-20 16:01:10 +05:30
Jayesh Kariya
be7e2e9202 adding states/at unit test case 2015-04-20 15:59:27 +05:30
Jayesh Kariya
e06343bc18 adding states/apt unit test case 2015-04-20 15:57:54 +05:30
Jayesh Kariya
619dd5cce8 adding states/apache unit test case 2015-04-20 15:56:31 +05:30
Justin Findlay
1c288dc146 Merge pull request #22505 from jayeshka/sysmod-unit-test
adding sysmod unit test case.
2015-04-17 15:03:39 -06:00
Nicole Thomas
3049183f07 Merge pull request #22775 from jayeshka/alternatives-states-unit-test
adding states/alternatives unit test case
2015-04-17 13:18:30 -06:00
Nicole Thomas
4d396e5e94 Merge pull request #22777 from jayeshka/apache_module-states-unit-test
adding states/apache_module unit test case
2015-04-17 12:08:01 -06:00
Rahul Handay
33da15b07b Adding pkg_resouce.py unit tests 2015-04-17 17:52:13 +05:30
Jayesh Kariya
f5bb21cd3e adding states/apache_module unit test case 2015-04-17 17:28:54 +05:30
Jayesh Kariya
283899e939 adding states/alternatives unit test case 2015-04-17 15:26:36 +05:30
Jayesh Kariya
5905b03ed8 resolved errors. 2015-04-17 12:34:26 +05:30
Justin Findlay
cf94017d88 fix saltmod.function unit test 2015-04-16 14:41:46 -06:00
Nicole Thomas
1bb93d29af Merge pull request #22660 from basepi/merge-forward-2015.2
[2015.2] Merge forward from 2014.7 to 2015.2
2015-04-16 10:00:11 -06:00
Justin Findlay
bacbf6cfa5 Merge pull request #22741 from jayeshka/lvm-states-unit-test
adding states/lvm test case
2015-04-16 07:20:10 -06:00
Jayesh Kariya
0ef4df8e0f adding netscaler unit test case 2015-04-16 17:21:51 +05:30
Jayesh Kariya
a32da0c8df adding states/lvm test case 2015-04-16 17:09:26 +05:30
Rahul Handay
2a977cada7 Adding states/network.py unit tests 2015-04-16 16:19:21 +05:30
Justin Findlay
3d2221ded4 fix test_sls_id unit test 2015-04-15 12:53:50 -06:00
Justin Findlay
e6b6ee8ce5 Merge pull request #22706 from rahulhan/states_nftables_unit_tests
Adding states/nftables.py unit test cases
2015-04-15 10:29:23 -06:00
Justin Findlay
58735aaa62 Merge pull request #22701 from rahulhan/states_iptables_unit_tests
Adding states/iptables.py unit tests
2015-04-15 10:24:10 -06:00
Thomas S Hatch
3f800a7fd2 Merge pull request #22639 from jayeshka/win_network-new-unit-test
adding win_network unit test case
2015-04-15 09:55:54 -06:00
Rahul Handay
d3e25ff4ae Adding states/nftables.py unit test cases 2015-04-15 18:55:21 +05:30
Jayesh Kariya
f56c24f909 adding win_dns_client test case and used @patch for mocking. 2015-04-15 18:42:38 +05:30
Rahul Handay
e6b6c41785 Adding states/iptables.py unit tests 2015-04-15 17:15:23 +05:30
Jayesh Kariya
63a1a58e32 used @patch for mocking. 2015-04-15 13:16:03 +05:30
Rahul Handay
83aa84c2a7 Adding state.py unit test 2015-04-15 13:01:36 +05:30
Jayesh Kariya
4c2a3f01b5 used @patch for mocking. 2015-04-15 12:10:54 +05:30
Colton Myers
f1ba391624 Trailing slash 2015-04-14 17:23:06 -06:00
Colton Myers
e0c212866b Missing trailing underscore for test 2015-04-14 12:59:27 -06:00
Nicole Thomas
4f5986cc0d Merge pull request #22652 from rahulhan/states_group_unit_tests
Adding states/group.py unit test cases
2015-04-14 12:46:41 -06:00
Nicole Thomas
6a1b02f58b Revert "adding win_dns_client unit test case" 2015-04-14 12:22:58 -06:00
Colton Myers
9099884809 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
Conflicts:
    doc/topics/cloud/config.rst
    salt/modules/win_disk.py
    salt/modules/yumpkg.py
    salt/pillar/s3.py
    salt/states/service.py
    salt/utils/event.py
    tests/integration/netapi/rest_tornado/test_app.py
    tests/integration/netapi/test_client.py
    tests/unit/states/archive_test.py
2015-04-14 11:03:03 -06:00
Justin Findlay
0b65822264 Merge pull request #22647 from jayeshka/pecl-unit-test
adding pecl unit test case.
2015-04-14 09:09:11 -06:00
Justin Findlay
0795c64afa Merge pull request #22640 from jayeshka/win_dns_client-new-unit-test
adding win_dns_client unit test case
2015-04-14 08:46:14 -06:00
Justin Findlay
d21d360b04 Merge pull request #22642 from rahulhan/states_mdadm_unit_tests
Adding states/mdadm.py unit test cases
2015-04-14 08:45:55 -06:00
Justin Findlay
a7e55d6c1c Merge pull request #22641 from rahulhan/states_locale_unit_tests
Adding states/locale.py unit test cases
2015-04-14 08:45:24 -06:00
Justin Findlay
25fedf5e83 Merge pull request #22637 from jayeshka/saltmod-states-unit-test
adding states/saltmod unit test case.
2015-04-14 08:42:24 -06:00
Rahul Handay
b61c3ea15e Adding states/group.py unit test cases 2015-04-14 19:12:49 +05:30
Jayesh Kariya
1d423feeba adding pecl unit test case. 2015-04-14 17:58:15 +05:30
Jayesh Kariya
aa3a793d8f removed Mocknetwork call 2015-04-14 17:42:15 +05:30
Rahul Handay
8bbb9e010c Adding states/mdadm.py unit test cases 2015-04-14 16:04:26 +05:30
Rahul Handay
febc12e6b4 Adding states/locale.py unit test cases 2015-04-14 16:02:30 +05:30
Jayesh Kariya
6abe3fa0f4 adding win_dns_client unit test case 2015-04-14 15:55:11 +05:30
Jayesh Kariya
1bb4251aa1 adding win_network unit test case 2015-04-14 15:49:20 +05:30
Jayesh Kariya
0f6fbf66d7 adding states/saltmod unit test case. 2015-04-14 14:30:58 +05:30
Rahul Handay
7f73bdd523 Adding states/service.py unit test cases 2015-04-14 12:35:50 +05:30
Nicole Thomas
0ab8af8802 Merge pull request #22593 from rallytime/fix_windows_unit_tests
Remove Mockwinapi mocking class from win_dns_client_test
2015-04-13 10:16:01 -06:00
Nicole Thomas
89d53bc063 Revert "adding win_network unit test case." 2015-04-13 09:56:05 -06:00
rallytime
b5d8c21c85 Remove Mockwinapi mocking class from win_dns_client_test
The tests run on the same process, the Mockwinapi class is squashing
salt.utils and causing problems in the test suite.

Refs #22582
2015-04-13 09:53:48 -06:00
Justin Findlay
bdfed667c9 Merge pull request #22579 from rahulhan/xapi_unit_tests
Adding xapi.py unit test cases
2015-04-13 09:13:07 -06:00
Justin Findlay
18d2db5770 Merge pull request #22585 from rahulhan/pagerduty_unit_test
Adding pagerduty.py unit tests
2015-04-13 08:21:20 -06:00
Justin Findlay
c6902f9aa4 Merge pull request #22583 from jayeshka/win_network-unit-test
adding win_network unit test case.
2015-04-13 08:18:44 -06:00
Rahul Handay
d244da2c02 Adding pagerduty.py unit tests 2015-04-13 18:21:17 +05:30
Jayesh Kariya
63bf71edec adding win_network unit test case. 2015-04-13 18:08:46 +05:30
Jayesh Kariya
5bd5d8810f adding win_dns_client unit test case. 2015-04-13 18:06:45 +05:30
Rahul Handay
3048513cb4 Adding xapi.py unit test cases 2015-04-13 17:38:19 +05:30
Justin Findlay
e132bcd5ca further saltnado lint 2015-04-12 16:39:57 -06:00
Thomas Jackson
5c0cca47d3 No reason to implement get_app in the mixin 2015-04-11 16:48:05 -07:00
Thomas Jackson
6f4a009343 Pylint fixup 2015-04-11 16:46:55 -07:00
Thomas S Hatch
f9df9fda79 Merge pull request #22529 from jayeshka/gpg-unit-test
adding gpg unit test case.
2015-04-10 09:54:04 -06:00
Nicole Thomas
f8cae2ccd9 Merge pull request #22525 from rahulhan/oracle_unit_test
Adding oracle.py unit test cases
2015-04-10 09:12:34 -06:00
Thomas S Hatch
2481e6cc63 Merge pull request #22464 from jacksontj/2014.7
2014.7: Fix Batching
2015-04-10 09:11:25 -06:00
Jayesh Kariya
fd5ee79375 resolved error. 2015-04-10 18:50:15 +05:30
Jayesh Kariya
5a53ff1fcd adding win_disk unit test case. 2015-04-10 18:01:22 +05:30
Jayesh Kariya
92040b24bd adding gpg unit test case. 2015-04-10 18:00:08 +05:30
Rahul Handay
a157b5e32a Adding oracle.py unit test cases 2015-04-10 16:10:38 +05:30
Pedro Algarvio
1181a50d0d Don't assume we're running the tests as root 2015-04-10 00:52:32 +01:00
Pedro Algarvio
0940548d58 The decorator looks for 2 binaries. We always want the first. 2015-04-10 00:26:15 +01:00
Justin Findlay
5c73b1ceb7 Merge pull request #22500 from rahulhan/states_hg_unit_test
Adding states/hg.py unit test cases
2015-04-09 09:07:11 -06:00
Justin Findlay
25903258b2 Merge pull request #22496 from rahulhan/states_host_unit_test
Adding states/host.py unit test cases
2015-04-09 09:06:49 -06:00
Justin Findlay
b232a73db7 Merge pull request #22504 from jayeshka/serverdensity_device-unit-test
adding serverdensity_device unit test case.
2015-04-09 09:06:25 -06:00
Justin Findlay
ae55fb4824 Merge pull request #22499 from rahulhan/states_http_unit_test
Adding states/http.py unit test cases
2015-04-09 07:17:29 -06:00
Jayesh Kariya
e86334f90e adding sysmod unit test case. 2015-04-09 17:32:17 +05:30
Jayesh Kariya
8afff0f337 adding serverdensity_device unit test case. 2015-04-09 17:29:48 +05:30
Rahul Handay
2a6073dde5 Adding states/hg.py unit test cases 2015-04-09 15:44:22 +05:30
Rahul Handay
80bf9e8734 Adding states/http.py unit test cases 2015-04-09 15:42:01 +05:30
Rahul Handay
65adbce5e7 Adding states/host.py unit test cases 2015-04-09 13:02:15 +05:30