Commit Graph

4276 Commits

Author SHA1 Message Date
Jayesh Kariya
563a5b3c30 adding states/pecl unit test case. 2015-05-27 14:52:19 +05:30
Jayesh Kariya
1af8c8334d adding states/pagerduty unit test case. 2015-05-27 14:51:19 +05:30
rallytime
ac0f97de51 Fixes the boto_vpc_test failure on CentOS 5 tests
pkg_resources.get_distribution doesn't work on CentOS 5 since it looks
for moto in site-packages and not pip (which is how we're installing it
in the salt-jenkins states).

This catches the exception through by get_distribution so we can run the
rest of the tests in this file.
2015-05-26 12:25:51 -06:00
Justin Findlay
a83371e0ed Merge pull request #24131 from jayeshka/mysql_user-states-unit-test
adding states/mysql_user unit test case
2015-05-26 09:58:10 -06:00
Justin Findlay
1dc1d2a6e5 Merge pull request #24130 from jayeshka/ntp-states-unit-test
adding states/ntp unit test case
2015-05-26 09:57:29 -06:00
Justin Findlay
39434179a8 Merge pull request #24128 from jayeshka/openstack_config-states-unit-test
adding states/openstack_config unit test case
2015-05-26 09:56:07 -06:00
Jayesh Kariya
ca09e0f7c1 adding states/openstack_config unit test case 2015-05-26 15:28:14 +05:30
Jayesh Kariya
ede4a9f2f1 adding states/ntp unit test case 2015-05-26 15:26:50 +05:30
Jayesh Kariya
c3ecabbae0 adding states/npm unit test case 2015-05-26 15:25:59 +05:30
Jayesh Kariya
ed1ef69856 adding states/mysql_user unit test case 2015-05-26 15:24:43 +05:30
Thomas S Hatch
dd90ef09b9 Merge pull request #24078 from jfindlay/locale_charmap
if a charmap is not supplied, set it to the codeset
2015-05-25 13:39:19 -06:00
Thomas S Hatch
9cec5d3dc9 Merge pull request #24088 from jfindlay/pkg_tests
pkg module integration tests
2015-05-25 13:39:02 -06:00
Justin Findlay
ec509ed272 Merge pull request #24108 from jayeshka/mysql_query-states-unit-test
adding states/mysql_query unit test case
2015-05-25 06:30:48 -06:00
Justin Findlay
f2e5d6c2fd Merge pull request #24110 from jayeshka/varnish-unit-test
adding varnish unit test case
2015-05-25 06:30:21 -06:00
Jayesh Kariya
e11988969f adding varnish unit test case 2015-05-25 16:01:02 +05:30
Jayesh Kariya
ec50450460 adding states/mysql_query unit test case 2015-05-25 15:59:25 +05:30
Jayesh Kariya
11a93cb80c adding states/mysql_grants unit test case 2015-05-25 15:58:10 +05:30
Mathieu Le Marec - Pasquet
458f50617b seed: lint
Signed-off-by: Mathieu Le Marec - Pasquet <kiorky@cryptelium.net>
2015-05-24 14:50:24 +02:00
Mathieu Le Marec - Pasquet
96b8d55f14 Fix seed.mkconfig yamldump
This fixes #24071

Signed-off-by: Mathieu Le Marec - Pasquet <kiorky@cryptelium.net>
2015-05-24 14:07:07 +02:00
Jayesh Kariya
7d59deb3d6 adding states/file unit test case 2015-05-23 22:22:32 -06:00
Justin Findlay
f1bd5ec404 adding pkg module integration tests 2015-05-23 19:34:37 -06:00
Jayesh Kariya
a81a9225b8 adding states/mount unit test case 2015-05-22 14:56:56 -06:00
Justin Findlay
09de253373 Merge pull request #24024 from jayeshka/mongodb_user-states-unit-test
adding states/mongodb_user unit test case
2015-05-22 14:53:19 -06:00
Justin Findlay
5eb97f0973 if a charmap is not supplied, set it to the codeset
Fixes #23221.
2015-05-22 14:48:39 -06:00
Jayesh Kariya
f31dc921f5 resolved errors 2015-05-22 10:48:28 +05:30
rallytime
1d031caa78 Remove key management test from digital ocean cloud tests
The create_key function was added to develop, but isn't present in 2015.5.
2015-05-21 13:37:34 -06:00
Justin Findlay
55c9245075 Merge pull request #24025 from jayeshka/timezone-unit-test
adding timezone unit test case
2015-05-21 10:50:53 -06:00
Justin Findlay
e243617659 Merge pull request #24023 from jayeshka/mongodb_database-states-unit-test
adding states/mongodb_database unit test case
2015-05-21 10:49:17 -06:00
Jayesh Kariya
1ec33e22a7 removed assertion error 2015-05-21 18:57:58 +05:30
Jayesh Kariya
d038b1fdbb adding states/mongodb_user unit test case 2015-05-21 17:11:46 +05:30
Jayesh Kariya
5a9ac7effb adding states/mongodb_database unit test case 2015-05-21 17:09:20 +05:30
Jayesh Kariya
05c0a985db adding states/modjk_worker unit test case 2015-05-21 17:07:01 +05:30
Jayesh Kariya
16ecb28950 adding timezone unit test case 2015-05-21 17:05:56 +05:30
rallytime
9e0ec07d85 Skip the gpodder pkgrepo test - they don't have vivid ppa up yet 2015-05-20 14:08:42 -06:00
Justin Findlay
b06df57e03 Merge pull request #23970 from jayeshka/system-unit-test
adding system unit test case
2015-05-20 11:12:57 -06:00
Justin Findlay
38d5f75756 Merge pull request #23967 from jayeshka/memcached-states-unit-test
adding states/memcached unit test case
2015-05-20 11:12:26 -06:00
Jayesh Kariya
89eb00815e adding system unit test case 2015-05-20 16:06:10 +05:30
Jayesh Kariya
422a96497d adding states/modjk unit test case 2015-05-20 15:31:46 +05:30
Jayesh Kariya
8ef9240e25 adding states/memcached unit test case 2015-05-20 15:30:45 +05:30
Justin Findlay
f09b80a8b5 augeas.change state now returns changes as a dict 2015-05-19 21:10:11 -06:00
rallytime
dce9b540a6 Remove extra line 2015-05-18 14:49:27 -06:00
rallytime
4acf58e758 Switch digital ocean tests to v2 driver
This has been done on develop, but this handles the cloud test failures for 2015.5.
2015-05-18 13:44:08 -06:00
Justin Findlay
433f87372c Merge pull request #23863 from rahulhan/states_timezone_unit_test
Adding states/timezone.py unit test
2015-05-18 11:02:19 -06:00
Justin Findlay
37b3ee5421 Merge pull request #23862 from rahulhan/states_tomcat_unit_test
Adding states/tomcat.py unit tests
2015-05-18 11:02:10 -06:00
Justin Findlay
dde7207acb Merge pull request #23860 from rahulhan/states_test_unit_test
Adding states/test.py unit tests
2015-05-18 11:01:49 -06:00
Justin Findlay
3c9b8139e8 Merge pull request #23859 from rahulhan/states_sysrc_unit_test
Adding states/sysrc.py unit tests
2015-05-18 11:01:46 -06:00
Rahul Handay
72fcabc690 Adding states/timezone.py unit test 2015-05-18 21:25:03 +05:30
Rahul Handay
65d7752d2a Adding states/tomcat.py unit tests 2015-05-18 21:22:46 +05:30
Rahul Handay
1f4cf86500 Adding states/test.py unit tests 2015-05-18 21:18:47 +05:30
Rahul Handay
6a903b054d Adding states/sysrc.py unit tests 2015-05-18 21:04:03 +05:30
Jayesh Kariya
280abdec7c adding sysbench unit test case 2015-05-18 17:43:37 +05:30
Alexander Schwartz
f5b1734782 fixing problem in unit test 2015-05-17 17:09:35 +00:00
Alexander Schwartz
cba47f6856 make saltify to use standard boostrap procedure, therefore providing all options like master_sign_pub_file 2015-05-17 18:16:43 +02:00
Weilu Jia
64634b6349 Update psutil.pid_list to use psutil.pids 2015-05-15 14:25:03 -07:00
Weilu Jia
8a1da33ada Fix test cases by mocking psutil_compat 2015-05-15 14:11:12 -07:00
Weilu Jia
7d02ad4f06 Fix some of the mock names for the new API 2015-05-15 13:03:26 -07:00
Weilu Jia
93ee411fd5 Create compatability psutil.
psutil 3.0 drops 1.0 API, but we still support old psutil versions.
2015-05-15 13:03:25 -07:00
Justin Anderson
982f87316d Merge pull request #23781 from jfindlay/fix_locale_tests
fix unit test mock errors on arch
2015-05-15 13:40:07 -06:00
Justin Findlay
14c711eeb3 fix unit test mock errors on arch 2015-05-15 12:50:55 -06:00
Thomas S Hatch
348645ecd5 Merge pull request #23736 from jfindlay/fix_pip
always load pip execution module
2015-05-15 12:10:16 -06:00
Justin Findlay
fd8a1b797f Merge pull request #23765 from jayeshka/makeconf_states-unit-test
adding states/makeconf unit test case
2015-05-15 08:29:43 -06:00
Jayesh Kariya
19939cfa98 adding svn unit test case 2015-05-15 17:39:21 +05:30
Jayesh Kariya
26e31afa31 adding states/makeconf unit test case 2015-05-15 17:37:53 +05:30
Justin Findlay
b8867a8c23 update pip tests 2015-05-15 00:15:26 -06:00
Rahul Handay
aad27db513 Adding states/user.py unit tests 2015-05-14 21:28:37 +05:30
Justin Findlay
13facbf077 Merge pull request #23704 from jayeshka/lvs_server_states-unit-test
adding states/lvs_server unit test case
2015-05-14 08:22:10 -06:00
Jayesh Kariya
da323dab0b adding states/lvs_server unit test case 2015-05-14 14:54:29 +05:30
Jayesh Kariya
66717c8133 adding states/lvs_service unit test case 2015-05-14 14:53:26 +05:30
Justin Findlay
e480f13688 Merge pull request #23675 from basepi/merge-forward-2015.5
[2015.5] Merge forward from 2014.7 to 2015.5
2015-05-13 12:35:54 -06:00
Colton Myers
acdd3fc6bd Fix lint 2015-05-13 11:47:43 -06:00
Nicole Thomas
c1bdd4d377 Merge pull request #23651 from jayeshka/solr-unit-test
adding solr unit test case
2015-05-13 09:26:15 -06:00
Nicole Thomas
ee43411677 Merge pull request #23649 from jayeshka/libvirt_states-unit-test
adding states/libvirt unit test case
2015-05-13 09:24:48 -06:00
Nicole Thomas
c7fc466f1e Merge pull request #23648 from jayeshka/linux_acl_states-unit-test
adding states/linux_acl unit test case
2015-05-13 09:24:11 -06:00
Jayesh Kariya
3f0ab29eb0 removed error. 2015-05-13 18:02:35 +05:30
Jayesh Kariya
6e05148962 adding solr unit test case 2015-05-13 17:14:53 +05:30
Jayesh Kariya
11081c121c adding states/linux_acl unit test case 2015-05-13 17:12:28 +05:30
Jayesh Kariya
0fb923a283 adding states/libvirt unit test case 2015-05-13 17:11:09 +05:30
Jayesh Kariya
1987015033 adding states/kmod unit test case 2015-05-13 17:09:57 +05:30
Jayesh Kariya
0936e1d386 made changes to test_interfaces function. 2015-05-13 11:09:40 +05:30
Colton Myers
680e88f058 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.5
Conflicts:
    salt/modules/ebuild.py
    tests/unit/modules/grains_test.py
2015-05-12 16:06:36 -06:00
Justin Findlay
d4f30955fa Merge pull request #23598 from rahulhan/states_win_dns_client_unit_test
Adding states/win_dns_client.py unit tests
2015-05-12 15:47:36 -06:00
Justin Findlay
811c6a1d89 Merge pull request #23597 from rahulhan/states_vbox_guest_unit_test
Adding states/vbox_guest.py unit tests
2015-05-12 15:46:30 -06:00
Nicole Thomas
b8589532d1 Merge pull request #23603 from rahulhan/states_winrepo_unit_test
Adding states/winrepo.py unit tests
2015-05-12 12:40:12 -06:00
Nicole Thomas
3cbbd6d277 Merge pull request #23602 from rahulhan/states_win_path_unit_test
Adding states/win_path.py unit tests
2015-05-12 12:39:37 -06:00
Nicole Thomas
3c904e8739 Merge pull request #23600 from rahulhan/states_win_network_unit_test
Adding states/win_network.py unit tests
2015-05-12 12:39:01 -06:00
Rahul Handay
6a2909eeea Removed errors 2015-05-12 23:20:36 +05:30
Rahul Handay
b418404eb7 removed lint error 2015-05-12 23:06:20 +05:30
Rahul Handay
a66e7e7f1f Adding states/winrepo.py unit tests 2015-05-12 22:54:54 +05:30
Rahul Handay
122c29f71a Adding states/win_path.py unit tests 2015-05-12 22:50:02 +05:30
Rahul Handay
1be802300b Adding states/win_network.py unit tests 2015-05-12 22:45:25 +05:30
Rahul Handay
6cda890517 Adding win_firewall.py unit tests 2015-05-12 22:39:09 +05:30
Rahul Handay
d08d885828 Adding states/win_dns_client.py unit tests 2015-05-12 22:34:31 +05:30
Rahul Handay
4cde78a58a Adding states/vbox_guest.py unit tests 2015-05-12 22:31:03 +05:30
Nicole Thomas
d2f097584c Merge pull request #23583 from jayeshka/ipset_states-unit-test
adding states/ipset unit test case
2015-05-12 10:31:55 -06:00
Nicole Thomas
82a47e8cbf Merge pull request #23582 from jayeshka/keyboard_states-unit-test
adding states/keyboard unit test case
2015-05-12 10:31:17 -06:00
Nicole Thomas
77e5b28566 Merge pull request #23581 from jayeshka/layman_states-unit-test
adding states/layman unit test case
2015-05-12 10:30:36 -06:00
Nicole Thomas
cbe32828ef Merge pull request #23580 from jayeshka/smf-unit-test
adding smf unit test case
2015-05-12 10:29:58 -06:00
Jayesh Kariya
4f9719157b adding smf unit test case 2015-05-12 18:06:49 +05:30
Jayesh Kariya
297b055b1c adding states/layman unit test case 2015-05-12 18:05:35 +05:30
Jayesh Kariya
fa94d7ab5c adding states/keyboard unit test case 2015-05-12 18:04:26 +05:30
Jayesh Kariya
4330cf4a6e adding states/ipset unit test case 2015-05-12 18:03:14 +05:30
Justin Findlay
6ec87ce9f5 Merge pull request #23551 from dr4Ke/grains.append_unit_tests
grains.append unit tests, related to #23474
2015-05-11 15:54:24 -06:00
Christophe Drevet-Droguet
ebff9df5b2 fix pylint errors 2015-05-11 21:21:10 +02:00
Justin Findlay
e9b94d36d3 additional mock for rh_ip_test test_build_bond
Fixes #23473.
2015-05-11 12:31:24 -06:00
Justin Findlay
aa5b896d3e Merge pull request #23470 from twangboy/fix_svc_restart
Fixed service.restart for salt-minion
2015-05-11 11:54:47 -06:00
Rahul Handay
750bb07d1c Adding states/virtualenv_mod.py unit tests 2015-05-11 21:49:59 +05:30
salt_build
b3f284c517 Fixed tests 2015-05-11 15:49:19 +00:00
Justin Findlay
4e77f6f8c4 Merge pull request #23534 from jayeshka/ini_manage_states-unit-test
adding states/ini_manage unit test case
2015-05-11 08:32:06 -06:00
Justin Findlay
11ba9ed99b Merge pull request #23533 from jayeshka/hipchat-states-unit-test
adding states/hipchat unit test case
2015-05-11 08:30:22 -06:00
Justin Findlay
e5421139d3 Merge pull request #23532 from jayeshka/ipmi-states-unit-test
adding states/ipmi unit test case
2015-05-11 08:28:15 -06:00
Jayesh Kariya
831223c31c adding states/ini_manage unit test case 2015-05-11 18:07:02 +05:30
Jayesh Kariya
3ad5314ee0 adding service unit test case 2015-05-11 18:01:10 +05:30
Jayesh Kariya
fc3e64a8a4 adding states/ipmi unit test case 2015-05-11 17:59:54 +05:30
Jayesh Kariya
41d14b322d adding states/hipchat unit test case 2015-05-11 17:57:06 +05:30
Christophe Drevet-Droguet
c4954046ad unit tests for grains.append module function
- separate test functions for every return
- add tests for nested lists
- add test for appending to an element of a list (fails silently)
2015-05-10 17:27:32 +02:00
Christophe Drevet-Droguet
0c9a32326c use MagickMock 2015-05-09 18:34:02 +02:00
Christophe Drevet-Droguet
c838a22377 unit tests for grains.append module function 2015-05-08 21:01:36 +02:00
Rahul Handay
2490074aa2 Adding states/win_servermanager.py unit tests 2015-05-08 23:59:58 +05:30
Justin Findlay
604857811e Merge pull request #23495 from jayeshka/seed-unit-test
adding seed unit test case
2015-05-08 11:30:38 -06:00
Justin Findlay
70bc3c1415 Merge pull request #23494 from jayeshka/sensors-unit-test
adding sensors unit test case
2015-05-08 11:30:18 -06:00
Justin Findlay
b981b20d44 Merge pull request #23493 from jayeshka/incron-states-unit-test
adding states/incron unit test case
2015-05-08 11:29:59 -06:00
Justin Findlay
4019c493a1 Merge pull request #23492 from jayeshka/influxdb_database-states-unit-test
adding states/influxdb_database unit test case
2015-05-08 11:29:51 -06:00
Jayesh Kariya
9d4043f9ff adding states/influxdb_user unit test case 2015-05-08 16:21:17 +05:30
Jayesh Kariya
e1fcac815d adding states/influxdb_database unit test case 2015-05-08 16:16:24 +05:30
Jayesh Kariya
cc7bc170f3 adding states/incron unit test case 2015-05-08 16:15:06 +05:30
Jayesh Kariya
1fb48a31a8 adding sensors unit test case 2015-05-08 16:11:20 +05:30
Jayesh Kariya
3f134bc573 adding seed unit test case 2015-05-08 16:10:00 +05:30
Justin Findlay
ea55c44bbb Merge pull request #23468 from rahulhan/states_win_system_unit_test
Adding states/win_system.py unit tests
2015-05-07 13:20:50 -06:00
Justin Findlay
865127844a Merge pull request #23450 from jayeshka/scsi-unit-test
adding scsi unit test case
2015-05-07 13:00:28 -06:00
Justin Findlay
8b374ae64d Merge pull request #23449 from jayeshka/s3-unit-test
adding s3 unit test case
2015-05-07 12:59:45 -06:00
Justin Findlay
49b431c8e4 Merge pull request #23448 from jayeshka/keystone-states-unit-test
adding states/keystone unit test case
2015-05-07 12:58:59 -06:00
Rahul Handay
33f8c12e9f Adding states/win_system.py unit tests 2015-05-07 23:59:13 +05:30
Jayesh Kariya
e7269ff29b adding scsi unit test case 2015-05-07 15:44:39 +05:30
Jayesh Kariya
85786bfe7f adding s3 unit test case 2015-05-07 15:43:32 +05:30
Jayesh Kariya
a3050eb3e2 adding states/keystone unit test case 2015-05-07 15:15:47 +05:30
Jayesh Kariya
7e90a4aaca adding states/grafana unit test case 2015-05-07 15:14:16 +05:30
Colton Myers
1fb84450f4 Merge pull request #23396 from basepi/merge-forward-2015.2
[2015.2] Merge forward from 2014.7 to 2015.2
2015-05-06 15:42:35 -06:00
Rahul Handay
9bc1519ee7 Removed unwanted imports 2015-05-06 21:54:37 +05:30
Rahul Handay
f12bfcf248 Adding states/win_update.py unit tests 2015-05-06 21:45:41 +05:30
Justin Findlay
02ef41a549 Merge pull request #23407 from jayeshka/rsync-unit-test
adding rsync unit test case
2015-05-06 09:52:23 -06:00
Jayesh Kariya
a4dd836125 adding rsync unit test case 2015-05-06 17:31:04 +05:30
Jayesh Kariya
32a0d03093 adding states/lxc unit test case 2015-05-06 17:29:53 +05:30
Colton Myers
fd09cdae6f Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
Conflicts:
    doc/topics/ssh/roster.rst
    salt/client/ssh/__init__.py
    salt/client/ssh/wrapper/__init__.py
    salt/config.py
    salt/modules/file.py
    salt/runners/lxc.py
2015-05-05 16:26:39 -06:00
Justin Findlay
5c9543c1d2 Merge pull request #23379 from rahulhan/states_rabbitmq_cluster_test
Adding states/rabbitmq_cluster.py
2015-05-05 15:44:06 -06:00
Justin Findlay
430f080a3a Merge pull request #23377 from rahulhan/states_xmpp_test
Adding states/xmpp.py unit tests
2015-05-05 15:43:35 -06:00
Justin Findlay
1648253675 Merge pull request #23362 from jayeshka/zk_concurrency-states-unit-test
adding states/zk_concurrency unit test case
2015-05-05 09:50:06 -06:00
Rahul Handay
04c22d1acf Adding states/rabbitmq_cluster.py 2015-05-05 20:57:08 +05:30
Rahul Handay
32923b53c3 Adding states/xmpp.py unit tests 2015-05-05 20:50:20 +05:30
Mike Place
e98e65e787 Fix tests 2015-05-05 08:20:41 -06:00
Jayesh Kariya
f9da6db459 adding riak unit test case 2015-05-05 15:39:52 +05:30
Jayesh Kariya
f60dda4b1d adding states/zk_concurrency unit test case 2015-05-05 15:37:35 +05:30
Justin Findlay
004dfe8056 Merge pull request #23320 from jayeshka/gnomedesktop-states-unit-test
adding states/gnomedesktop unit test case
2015-05-04 08:58:37 -06:00
Jayesh Kariya
f441e232e2 adding states/gnomedesktop unit test case 2015-05-04 16:10:54 +05:30
Jayesh Kariya
b8a8b52f1d adding states/glusterfs unit test case 2015-05-04 16:09:41 +05:30
Thomas S Hatch
6e18810745 Merge pull request #23209 from jayeshka/disk-states-unit-test
adding states/disk unit test case
2015-04-30 08:30:43 -07:00
Thomas S Hatch
6a1e86efce Merge pull request #23208 from jayeshka/eselect-states-unit-test
adding states/eselect unit test case
2015-04-30 08:30:33 -07:00
Thomas S Hatch
6016e00eaf Merge pull request #23207 from jayeshka/drac-states-unit-test
adding states/drac unit test case
2015-04-30 08:30:18 -07:00
Thomas S Hatch
365c16b901 Merge pull request #23206 from jayeshka/composer-states-unit-test
adding states/composer unit test case
2015-04-30 08:30:02 -07:00
Thomas S Hatch
9360af2afc Merge pull request #23205 from jayeshka/debconfmod-states-unit-test
adding states/debconfmod unit test case
2015-04-30 08:29:46 -07:00
Jayesh Kariya
c64a939446 adding states/eselect unit test case 2015-04-30 15:49:02 +05:30
Jayesh Kariya
b4b027c547 adding states/drac unit test case 2015-04-30 15:47:53 +05:30
Jayesh Kariya
946872e87f adding states/disk unit test case 2015-04-30 15:46:39 +05:30
Jayesh Kariya
0e5f4a7087 adding states/debconfmod unit test case 2015-04-30 15:44:29 +05:30
Jayesh Kariya
818aab8a6f adding states/ddns unit test case 2015-04-30 15:43:17 +05:30
Jayesh Kariya
05ff008741 adding states/composer unit test case 2015-04-30 15:41:45 +05:30
Colton Myers
21d9de2995 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
Conflicts:
    salt/fileclient.py
    salt/utils/serializers/yaml.py
2015-04-29 11:47:06 -06:00
Justin Findlay
2ad2840936 Merge pull request #23169 from jayeshka/rh_ip-unit-test
adding rh_ip unit test case
2015-04-29 09:20:19 -06:00
Jayesh Kariya
526383deaa adding states/cmd unit test case 2015-04-29 17:31:23 +05:30
Jayesh Kariya
636c654205 adding rh_ip unit test case 2015-04-29 17:29:37 +05:30
Justin Findlay
45153aafd8 Merge pull request #23143 from rallytime/bp-23124
Backport #23124 to 2015.2
2015-04-28 14:44:42 -06:00
Mike Place
b4bf7763e3 Merge pull request #23059 from s0undt3ch/features/py-min-version-lint
Start checking code to enforce a minimum python version support
2015-04-28 14:05:23 -06:00
Justin Findlay
ffd18493e8 compare OrderedDicts in serializer unit test 2015-04-28 13:30:16 -06:00
Kevin Boulain
a9777c6167 fix tests for the parted module 2015-04-28 13:22:54 -06:00
Justin Findlay
65e1d0bd91 Merge pull request #23137 from jfindlay/merge_23126
adding states/cloud unit test case
2015-04-28 12:01:45 -06:00
Jayesh Kariya
03ac21072d adding states/cloud unit test case 2015-04-28 09:45:52 -06:00
Justin Findlay
3df2a8e88d Merge pull request #23128 from jayeshka/rest_service-unit-test
adding rest_service unit test case
2015-04-28 08:16:54 -06:00
Jayesh Kariya
975ea49808 adding rest_service unit test case 2015-04-28 18:06:55 +05:30
Jayesh Kariya
4b7be9ffb8 adding rest_package unit test case 2015-04-28 18:04:43 +05:30
Justin Findlay
bcad307c38 Merge pull request #23084 from jayeshka/rbenv-unit-test
adding rbenv unit test case
2015-04-27 09:29:54 -06:00
Justin Findlay
7daffb11f0 Merge pull request #23083 from jayeshka/chef-states-unit-test
adding states/chef unit test case
2015-04-27 09:29:02 -06:00
Justin Findlay
846f8b7ffb Merge pull request #23082 from jayeshka/boto_sqs-states-unit-test
adding states/boto_sqs unit test case
2015-04-27 09:26:25 -06:00
Justin Findlay
fc6ca0c117 Merge pull request #23081 from jayeshka/boto_sns-states-unit-test
adding states/boto_sns unit test case
2015-04-27 09:25:57 -06:00
Justin Findlay
ba9f6fb2a7 Merge pull request #23080 from jayeshka/boto_route53-states-unit-test
adding states/boto_route53 unit test case
2015-04-27 09:25:29 -06:00
Jayesh Kariya
a96e914a08 adding rbenv unit test case 2015-04-27 17:26:24 +05:30
Jayesh Kariya
13a4cd8a30 adding states/chef unit test case 2015-04-27 17:08:56 +05:30
Jayesh Kariya
7a34457405 adding states/boto_sqs unit test case 2015-04-27 17:07:06 +05:30
Jayesh Kariya
82c5d1f68b adding states/boto_sns unit test case 2015-04-27 17:05:34 +05:30
Jayesh Kariya
64adc959b1 adding states/boto_route53 unit test case 2015-04-27 17:03:33 +05:30
Jayesh Kariya
23cc26a1a8 adding states/boto_lc unit test case 2015-04-27 17:01:26 +05:30
Pedro Algarvio
a96fb2ae73 Add required white-space 2015-04-27 09:11:29 +01:00
Pedro Algarvio
70810daba2 Some minimum-python-version PyLint disables 2015-04-26 10:57:59 +01:00
Pedro Algarvio
c5a34176e5 Fix imports 2015-04-26 10:53:36 +01:00
Pedro Algarvio
51dba5c24b Use Salt's OrderedDict which always exists 2015-04-26 10:51:28 +01:00
rallytime
8d5b50e17c Don't forget the blank lines at the end of the file 2015-04-24 16:29:51 -06:00
rallytime
9830708f86 Some small test clean up changes 2015-04-24 16:27:22 -06:00
Justin Findlay
f9bdf6347d Merge pull request #23019 from jayeshka/boto_iam_role-states-unit-test
adding states/boto_iam_role unit test case
2015-04-24 08:42:51 -06:00
Jayesh Kariya
49894795ad adding raet_publish unit test case 2015-04-24 17:30:24 +05:30
Jayesh Kariya
93214d0441 adding states/boto_iam_role unit test case 2015-04-24 17:21:28 +05:30
Nicole Thomas
1d9230cb8f Merge pull request #22952 from basepi/merge-forward-2015.2
[2015.2] Merge forward from 2014.7 to 2015.2
2015-04-23 15:56:44 -06:00
Nicole Thomas
cf9041744a Merge pull request #22985 from jfindlay/apache_state_test
fix failing apache state unit test
2015-04-23 09:18:23 -06:00
Justin Findlay
340dba3210 Merge pull request #22982 from jayeshka/qemu_img-unit-test
adding qemu_img unit test case
2015-04-23 08:18:46 -06:00
Justin Findlay
10fa7eea14 Merge pull request #22980 from jayeshka/boto_elb-states-unit-test
Boto elb states unit test
2015-04-23 08:16:44 -06:00
Justin Findlay
34453b314e fix failing apache state unit test 2015-04-23 08:09:15 -06:00
Jayesh Kariya
b9188aea6a adding qemu_img unit test case 2015-04-23 18:13:27 +05:30
Jayesh Kariya
d347bb4e3b changes as per 2015.2 branch 2015-04-23 17:58:08 +05:30
Jayesh Kariya
06bf61822d changes as per 2015.2 branch 2015-04-23 17:56:04 +05:30
Jayesh Kariya
6ef51d1b2d adding states/boto_elb unit test case 2015-04-23 17:29:19 +05:30
Jayesh Kariya
2c03692d04 adding states/boto_elasticache unit test case 2015-04-23 17:27:28 +05:30
Colton Myers
63119f9505 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
Conflicts:
    salt/modules/dockerio.py
    salt/modules/localemod.py
    salt/modules/useradd.py
2015-04-22 10:51:49 -06:00
Thomas S Hatch
a178d444b8 Merge pull request #22946 from s0undt3ch/2014.7
Test with a more recent pip version to avoid a traceback
2015-04-22 10:25:17 -06:00
Mike Place
a2d2a5b3cb Merge pull request #22931 from jacksontj/2015.2
Cleanup jinja attribute access for loader
2015-04-22 09:35:29 -06:00
Pedro Algarvio
bc87749e2c Test with a more recent pip version to avoid a traceback
```
07:39:05,449 [salt.minion                                :1178][ERROR   ] A command in 'pip.list' had a problem: Traceback (most recent call last):
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/bin/pip", line 9, in <module>
    load_entry_point('pip==1.3.1', 'console_scripts', 'pip')()
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pkg_resources/__init__.py", line 546, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2666, in load_entry_point
    return ep.load()
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2339, in load
    return self.resolve()
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2345, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pip/__init__.py", line 13, in <module>
    from pip.commands import commands, get_similar_commands, get_summaries
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pip/commands/__init__.py", line 6, in <module>
    from pip.commands.bundle import BundleCommand
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pip/commands/bundle.py", line 5, in <module>
    from pip.commands.install import InstallCommand
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pip/commands/install.py", line 5, in <module>
    from pip.req import InstallRequirement, RequirementSet, parse_requirements
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pip/req/__init__.py", line 3, in <module>
    from .req_install import InstallRequirement
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pip/req/req_install.py", line 20, in <module>
    import pip.wheel
  File "/tmp/salt-tests-tmpdir/6833-pip-upgrade-pip/lib/python2.6/site-packages/pip/wheel.py", line 23, in <module>
    from pip.exceptions import InvalidWheelFilename, UnsupportedWheel
ImportError: cannot import name InvalidWheelFilename
```
2015-04-22 16:13:58 +01:00
Justin Findlay
2589e15e5c Merge pull request #22938 from jayeshka/powerpath-unit-test
adding powerpath unit test case
2015-04-22 08:51:39 -06:00
Justin Findlay
a70fa267b1 Merge pull request #22936 from jayeshka/boto_dynamodb-states-unit-test
adding states/boto_dynamodb unit test case
2015-04-22 08:49:52 -06:00
Justin Findlay
ce1a880025 Merge pull request #22935 from jayeshka/boto_cloudwatch_alarm-states-unit-test
adding states/boto_cloudwatch_alarm unit test case
2015-04-22 08:48:19 -06:00
Jayesh Kariya
5a5c7ef415 adding powerpath unit test case 2015-04-22 17:38:44 +05:30
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
Viet Hung Nguyen
b13db32fde add test for #18843 2015-04-22 16:21:23 +07:00
Thomas Jackson
98af7c3f95 Cleanup jinja attribute access for loader
Refactor of #22723
2015-04-21 22:39:17 -07:00
Felix Dreissig
468d392074 Adjust tests to the new return value of modules.localemod.gen_locale() 2015-04-21 19:11:33 -06:00
Nicole Thomas
2793ad667b Merge pull request #22911 from rallytime/test_fixes
Fix some Python 2.6-related test failures on 2015.2
2015-04-21 18:44:37 -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
Colton Myers
92c51affc5 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2 2015-04-21 10:33:39 -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
Pedro Algarvio
ae2bca1f6f Fix W1504(unidiomatic-typecheck 2015-04-21 14:02:17 +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
Justin Findlay
03af523de9 Merge pull request #22853 from s0undt3ch/2014.7
Don't assume package installation order.
2015-04-20 20:42:41 -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
Thomas S Hatch
a7ff60491b Merge pull request #22815 from plastikos/issue-22797
Fix failure with nested nodegroups:
2015-04-20 09:12:54 -06:00
Pedro Algarvio
b62df62151 Don't assume package installation order.
Additionally pep8 when installed using wheel, reports the version
together with the name.
2015-04-20 14:45:25 +01: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