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
Nicolas Delaby
1f68d2d9a9
Update test to follow new argument name
2015-05-22 18:36:50 +02:00
Nicolas Delaby
8b7ddcbbf7
Introduce check_is_running
2015-05-22 18:36:26 +02:00
Nicolas Delaby
09d934b1ac
Fix pull images
...
add support for use-case when a pulled new-image is forced but no new images
was downloaded from the registry.
2015-05-22 15:51:27 +02:00
Nicolas Delaby
b681f71eb3
compare images by ID not by name
...
Because the name can be no longer be correct if an active tag moved to a different image.
It happens frequently when working against `latest` tag.
2015-05-22 14:31:19 +02:00
Jayesh Kariya
f31dc921f5
resolved errors
2015-05-22 10:48:28 +05:30
Colton Myers
58aed60838
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
salt/runners/lxc.py
2015-05-21 11:27:52 -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
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
Nicolas Delaby
5f8f24b655
Related to #23975 and apply same logic for ports
and port_bindings
2015-05-21 09:49:21 +02:00
Nicole Thomas
b39e2d950d
Merge pull request #23975 from terminalmage/fix-docker-volumes
...
Check for VOLUME lines in image
2015-05-20 13:59:04 -06:00
Erik Johnson
8ad8b527b6
Update test to mock dockerng.history
2015-05-20 13:54:20 -05:00
Colton Myers
9dbafcc051
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
salt/cloud/clouds/digital_ocean_v2.py
salt/modules/tls.py
2015-05-20 11:59:59 -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
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
Thomas S Hatch
e97a9c4e93
Merge pull request #23851 from ticosax/fix-volumes
...
[dockerng] fix mounting
2015-05-19 09:47:55 -06:00
rallytime
f45c7bdfca
Add boilerplate unit test pieces to new dockerng_test file
...
Also fixes pylint errors in original PR.
Refs #23851
2015-05-18 13:04:14 -06:00
Colton Myers
6530a20340
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
pkg/suse/salt.changes
salt/modules/lxc.py
salt/modules/ps.py
salt/states/cloud.py
2015-05-18 11:39:43 -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
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
Nicolas Delaby
df48ac2b91
volumes path, on create, should be the one inside the container
...
not from the host
2015-05-18 14:30:44 +02:00
Justin Findlay
a2e23fd162
Merge pull request #23716 from makinacorpus/i23713
...
Correct detect service toggling
2015-05-16 11:00:44 -06:00
Mathieu Le Marec - Pasquet
e26885d8cb
lint
2015-05-16 14:21:17 +02:00
Mathieu Le Marec - Pasquet
bde7867c98
service/{dead/running} optimizations & test fixes
...
Signed-off-by: Mathieu Le Marec - Pasquet <kiorky@cryptelium.net>
2015-05-16 13:33:34 +02:00
Colton Myers
4ea3f8f80a
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
salt/pillar/neutron.py
salt/utils/http.py
2015-05-15 13:43:40 -06:00
Jayesh Kariya
26e31afa31
adding states/makeconf unit test case
2015-05-15 17:37:53 +05:30
Colton Myers
7d8038f134
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
debian/changelog
salt/modules/win_pkg.py
salt/pillar/__init__.py
salt/states/file.py
2015-05-14 10:27:00 -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
Colton Myers
5ee7f25ee4
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
2015-05-13 11:50:33 -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
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
Colton Myers
eca368a0ee
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
2015-05-12 16:09:12 -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
Daniel Hobley
30d8be877d
Lint fixes
2015-05-12 15:48:53 +02:00
Daniel Hobley
899ba78e79
Added power cfg module and state for windows minions
...
- Allows you to set power settings on a windows minion for things like the monitor and disk
2015-05-12 14:49:48 +02:00
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
Colton Myers
1d77ae9072
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
salt/cloud/clouds/ec2.py
salt/modules/hipchat.py
salt/modules/random_org.py
salt/modules/serverdensity_device.py
salt/modules/slack_notify.py
salt/returners/__init__.py
salt/states/iptables.py
2015-05-11 11:38:03 -06:00
Rahul Handay
750bb07d1c
Adding states/virtualenv_mod.py unit tests
2015-05-11 21:49:59 +05:30
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
Jayesh Kariya
831223c31c
adding states/ini_manage unit test case
2015-05-11 18:07:02 +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
Rahul Handay
2490074aa2
Adding states/win_servermanager.py unit tests
2015-05-08 23:59:58 +05:30
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
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
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
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
ece63c36a3
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
doc/topics/ssh/roster.rst
salt/modules/win_groupadd.py
2015-05-06 15:49:50 -06:00
Colton Myers
56d382a093
Fix xmpp test
2015-05-06 14:40:46 -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
Jayesh Kariya
32a0d03093
adding states/lxc unit test case
2015-05-06 17:29:53 +05:30
Colton Myers
2981aed48e
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
2015-05-05 16:49:31 -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
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
Nicole Thomas
dcfdbf189d
Merge pull request #23249 from lyft/boto-iam-assume-role-support
...
Support for assumed role policies and roles without instance profiles
2015-05-05 09:20:15 -06:00
Jayesh Kariya
f60dda4b1d
adding states/zk_concurrency unit test case
2015-05-05 15:37:35 +05:30
Ryan Lane
538f8f033b
Fix lint error
2015-05-04 23:03:58 -07:00
Ryan Lane
a0ee7cb225
Fix unit tests and add coverage for new functions.
2015-05-04 19:31:59 -07:00
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
Colton Myers
94ea3b7357
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
2015-04-30 14:23:05 -06:00
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
Justin Findlay
d935b996e7
fix cmd_test for develop branch
2015-04-29 15:00:56 -06:00
Colton Myers
cca8ddc886
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
.pylintrc
.testing.pylintrc
salt/auth/pam.py
salt/modules/win_status.py
salt/utils/network.py
salt/utils/schedule.py
tests/unit/renderers/gpg_test.py
tests/unit/states/boto_secgroup.py
2015-04-29 12:01:52 -06:00
Jayesh Kariya
526383deaa
adding states/cmd unit test case
2015-04-29 17:31:23 +05:30
Matthew Williams
e32976b4b6
Merge remote-tracking branch 'origin/develop' into boto_dicts
2015-04-28 21:40:40 +00:00
Matthew Williams
63cc88ed64
states.boto_vpc: use separate subnet_ids and subnet_names kwargs in route_table_present
2015-04-28 21:37:05 +00:00
Mike Place
373586576d
Merge pull request #23062 from mgwilliams/boto_dicts
...
return dicts from all boto_vpc functions
2015-04-28 14:25:59 -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
Jayesh Kariya
03ac21072d
adding states/cloud unit test case
2015-04-28 09:45:52 -06:00
Matthew Williams
796fd603e8
use Mixin for Subnets test case in boto_vpc state module tests
2015-04-27 16:56:07 +00:00
Colton Myers
befb666623
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/modules/mongodb.py
salt/utils/http.py
salt/utils/process.py
tests/integration/__init__.py
2015-04-27 10:28:53 -06:00
Matthew Williams
76f739d7c7
boto_vpc: lint
2015-04-27 16:05:55 +00: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
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
Matthew Williams
6752c810be
add additional tests for boto_vpc state
2015-04-27 06:08:08 +00:00
Pedro Algarvio
c5a34176e5
Fix imports
2015-04-26 10:53:36 +01:00
Matthew Williams
bd40be4b02
Merge branch 'develop' into boto_dicts
2015-04-25 18:29:13 +00:00
Matthew Williams
899427a7be
boto_vpc: lint
2015-04-25 17:33:16 +00:00
Matthew Williams
e6a02a65ea
WIP: states.boto_vpc: sync with execution module changes
2015-04-25 17:26:43 +00:00
Justin Findlay
6efef05d27
Merge pull request #23036 from jfindlay/merge_23017
...
adding states/boto_elasticache unit test
2015-04-24 13:47:27 -06:00
Jayesh Kariya
06979ca744
adding states/boto_elb unit test
2015-04-24 12:07:41 -06:00
Jayesh Kariya
eda40c4b33
adding states/boto_elasticache unit test
2015-04-24 12:05:24 -06:00
Colton Myers
313c46501d
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/auth/pam.py
salt/modules/boto_route53.py
salt/state.py
2015-04-24 10:19:03 -06:00
Jayesh Kariya
93214d0441
adding states/boto_iam_role unit test case
2015-04-24 17:21:28 +05:30
Colton Myers
035ad549d5
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/modules/schedule.py
salt/utils/schedule.py
2015-04-23 13:00:35 -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
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
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
Jayesh Kariya
ed5f483bb4
adding states/boto_ec2 unit test case
2015-04-22 16:46:39 -06:00
Colton Myers
1a38b4b834
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/cli/salt.py
salt/client/mixins.py
salt/renderers/pyobjects.py
2015-04-22 11:07:01 -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
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
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
Colton Myers
bd6ecdfd43
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
doc/topics/installation/windows.rst
doc/topics/tutorials/gitfs.rst
salt/pillar/pepa.py
salt/states/artifactory.py
salt/states/pip_state.py
salt/transport/__init__.py
2015-04-21 10:42:22 -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
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
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
Colton Myers
ef583295d5
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/beacons/service.py
2015-04-20 11:41:25 -06:00
Matthew Williams
97bd79dd0e
Merge remote-tracking branch 'origin/develop' into boto_dicts
2015-04-20 15:10:51 +00:00
Matthew Williams
5dbba08c04
states.boto_vpc: sync vpc.present/absent and subnet.present/absent with execution module; add tests
2015-04-20 15:09:46 +00: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
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
rallytime
1e4b93dec9
Python 3 compat fixes for develop
2015-04-17 12:00:01 -06:00
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
Justin Findlay
c82339ba74
fix saltmod.function unit test
2015-04-16 21:09:59 -06:00
Colton Myers
728e74c921
Better return data for mocked saltutil.cmd for saltmod.function
2015-04-16 17:46:32 -06:00
Colton Myers
fd036278e8
Fix iptables test_flush
2015-04-16 17:18:50 -06:00
Justin Findlay
cf94017d88
fix saltmod.function unit test
2015-04-16 14:41:46 -06:00
Colton Myers
000de95974
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
.pylintrc
doc/ref/runners/all/salt.runners.nacl.rst
doc/topics/cloud/config.rst
salt/cli/salt.py
salt/client/mixins.py
salt/client/ssh/__init__.py
salt/loader.py
salt/minion.py
salt/modules/cassandra_cql.py
salt/modules/gpg.py
salt/modules/grains.py
salt/modules/iptables.py
salt/modules/yumpkg.py
salt/netapi/rest_cherrypy/app.py
salt/renderers/pyobjects.py
salt/returners/mysql.py
salt/runners/jobs.py
salt/state.py
salt/states/file.py
salt/states/service.py
salt/utils/minions.py
tests/integration/__init__.py
tests/integration/netapi/rest_tornado/test_app.py
tests/integration/states/cmd.py
2015-04-16 12:15:44 -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
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
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
Rahul Handay
d3e25ff4ae
Adding states/nftables.py unit test cases
2015-04-15 18:55:21 +05:30
Rahul Handay
e6b6c41785
Adding states/iptables.py unit tests
2015-04-15 17:15:23 +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
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
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
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
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
Pedro Algarvio
1181a50d0d
Don't assume we're running the tests as root
2015-04-10 00:52:32 +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
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
Justin Findlay
ad7b066dce
Merge pull request #22455 from jayeshka/grains-unit-test
...
adding states/grains unit test case.
2015-04-08 09:05:30 -06:00
Nicole Thomas
f8d81dde1e
Merge pull request #22459 from jayeshka/smtp_states-unit-test
...
adding states/smtp unit test case.
2015-04-08 08:45:27 -06:00
Nicole Thomas
2fd7b8c3b2
Merge pull request #22457 from jayeshka/sysctl-unit-test
...
adding states/sysctl unit test case.
2015-04-08 08:43:06 -06:00
Jayesh Kariya
481e2e4ad0
adding states/smtp unit test case.
2015-04-08 17:54:52 +05:30
Jayesh Kariya
5a016c5eda
cosmetic change
2015-04-08 17:49:38 +05:30
Jayesh Kariya
705c387368
doc string change.
2015-04-08 17:18:04 +05:30
Jayesh Kariya
a9ba68699a
adding states/sysctl unit test case.
2015-04-08 16:25:57 +05:30
Rahul Handay
0fdda87e23
Adding states svn.py unit test cases
2015-04-08 16:20:51 +05:30
Jayesh Kariya
3002729f72
adding states/grains unit test case.
2015-04-08 14:13:20 +05:30
Rahul Handay
a807d2c55b
Adding git.py (states) unit tests
2015-04-07 15:05:25 +05:30
Rahul Handay
034386e855
Adding states event.py unit tests
2015-04-03 11:24:47 +05:30
Justin Findlay
e48df011fa
adding alias state unit tests
2015-04-01 22:12:33 -06:00
Alexander Pyatkin
fdb62788de
Do not parse state name with pip in editable mode
2015-03-24 16:09:38 +00:00
rallytime
12aa7e1ff6
Python 3 compat fix for states/archive_test.py
2015-03-23 15:45:40 -06:00
Colton Myers
70406867a4
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/client/__init__.py
salt/modules/file.py
salt/modules/yumpkg.py
salt/modules/zypper.py
tests/integration/shell/auth.py
tests/unit/states/archive_test.py
tests/unit/states/module_test.py
2015-03-20 20:09:19 -06:00
Colton Myers
18ab3f8275
Is it the underscore of doom?
2015-03-20 13:06:16 -06:00
Colton Myers
d89d8f5d2d
Add the trailing slash
2015-03-20 11:55:45 -06:00
Colton Myers
4eee083691
Reorder mocked arguments
2015-03-20 10:36:25 -06:00
Colton Myers
2b1f400ab4
Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
...
Conflicts:
doc/topics/topology/syndic.rst
salt/client/__init__.py
salt/daemons/masterapi.py
salt/minion.py
salt/modules/dockerio.py
2015-03-19 16:03:29 -06:00
Justin Findlay
5f143ecb60
unit tests for states.archive.extracted tar opts
...
Implements tests for #20795 .
2015-03-17 20:40:20 -06:00
Justin Findlay
53c9d48331
fix typo
2015-03-17 19:58:05 -06:00
Alexander Pyatkin
b23c0fa499
Make enhancements to htpasswd modules
2015-03-13 21:18:50 +00:00
Alexander Pyatkin
5edb6cba11
Implement Bower state module
2015-02-21 05:57:54 +00:00
Mike Place
7a9428d9f5
Typo
2015-02-13 10:17:17 -07:00
Mike Place
37b375ba8b
Use cls attr
2015-02-13 10:17:17 -07:00
Mike Place
b9fa5e4e29
Reset env at end of test
2015-02-13 10:17:17 -07:00
jfindlay
a1043ab87a
Merge pull request #20605 from jfindlay/tar
...
fix tar check
2015-02-11 15:04:27 -07:00
Alexander Schwartz
7c6b8f1221
clean up lint messages
2015-02-11 19:57:14 +00:00
Thomas S Hatch
54de4cc592
Merge branch 'feature-20340-gem-sources' of https://github.com/RobertFach/salt into RobertFach-feature-20340-gem-sources
2015-02-10 09:51:22 -07:00
Alexander Schwartz
c05aae9ce7
added archive test script
2015-02-09 14:52:46 +00:00
Mike Place
7dd8aef5b4
Typo
2015-02-06 10:46:31 -07:00
Mike Place
5a90fcfd45
Use cls attr
2015-02-06 09:47:26 -07:00
Mike Place
8459819663
Reset env at end of test
2015-02-06 08:40:50 -07:00
Robert Fach
71d3e34342
implemented&tested gem state sources_add, sources_remove, added test cases
2015-02-04 17:27:35 +00:00
Pedro Algarvio
03763d65b4
Py3 compatibility fixes. Skip tests if no mock available.
2015-01-30 22:25:31 +00:00
Pedro Algarvio
f13718f11c
Py3 compatibility fixes
2015-01-30 22:25:11 +00:00
Pedro Algarvio
60f215f191
Add from __future__ import absolute_import
2015-01-30 22:25:04 +00:00
rallytime
dc23823897
Merge branch '2014.7' into '2015.2'
...
Conflicts:
salt/modules/localemod.py
2015-01-27 13:24:14 -07:00
rallytime
cdc8039b58
Add some mocked variables to fix the file_test failures
...
Also do a little clean up of states/file.py and salt/state.py
2015-01-26 14:11:56 -07:00
Mike Place
f14eeaabc1
Fix more failing tests
2015-01-24 03:16:50 +00:00
Mike Place
05fed01430
Fix failing tests in develop
2014-12-19 11:05:47 -07:00
Thomas S Hatch
6a9195e190
fix bad file perms
2014-12-18 10:42:25 -07:00
Elias Probst
2fe5e0309c
Typo (assertInSalStatetWarning → assertInSaltStateWarning).
2014-12-10 21:04:11 +01:00
Mike Place
b811f633af
Fix one more failing test
2014-12-10 09:33:54 -07:00
Pedro Algarvio
bd7f23ac6f
Switch open()
for salt.utils.fopen()
2014-11-26 20:30:13 +00:00
starzyk1
4bdede0700
Fixes of pylint violations
2014-11-25 12:49:14 +01:00
starzyk1
50fab573c8
Fixes of pylint violations
2014-11-25 11:51:43 +01:00
Konrad Starzyk
6656837ff0
Merge remote-tracking branch 'upstream/develop' into jboss7
2014-11-21 21:52:46 +01:00
Konrad Starzyk
99406c2215
Merge remote-tracking branch 'upstream/develop' into jboss7
2014-11-20 11:20:41 +01:00
Sławek Ehlert
03f464c773
remove the leftovers from the previous file
2014-11-20 00:29:12 +01:00
Sławek Ehlert
e2e4bcf2ae
fix output of subsequent calls for `environ.setenv
` state
...
Previously ``setenv`` function (from ``modules.environ``) was
called even if the environment was already in a proper state.
This caused ``highstate`` to always report changes to be applied
even if they were not required.
2014-11-19 23:56:09 +01:00
Ash Berlin
b1e57b82ea
Allow specifying custom gem
to use in gem state and module
...
Better late than never - here is a PR for issue #13202
2014-11-09 01:06:08 +00:00
Chris Rebert
b9bb56841d
fix numerous typos+misspellings
2014-11-05 13:57:47 -08:00
Konrad Starzyk
5b43246ab9
JBoss7 and Artifactory state/modules
2014-11-04 11:16:30 +01:00
Seth House
0d6e33a419
Merge remote-tracking branch 'upstream/2014.7' into develop
2014-10-28 08:47:18 -05:00
rallytime
19d70dfac5
Added another test to module.run state unit tests
2014-10-24 15:28:03 -06:00
rallytime
f6490e9572
Add initial unit tests for module.run state function
2014-10-24 08:56:40 -06:00
rallytime
2b3d4b8e6b
Import function in syslog_ng_test so tests will run
2014-09-14 08:04:20 -06:00
Thomas S Hatch
5d27e77c92
Merge branch 'feature/postgres_schema' of https://github.com/novapost/salt into novapost-feature/postgres_schema
2014-09-12 10:39:40 -06:00
Pedro Algarvio
da1fb62a67
Fix typo in comment
2014-09-11 18:18:39 +01:00
Rodolphe Quiédeville
b4dcc992c5
- salt/modules/postgres.py: add functions to manipulate schemas
...
- salt/states/postgres_schema.py: new states for schemas
- tests/unit/modules/postgres_test.py: add tests on new functions
- tests/unit/states/postgres_test.py: add tests on new functions
2014-09-11 12:17:18 +02:00
Colton Myers
c7b666fe43
Bring boto state tests from develop to 2014.7
2014-09-03 15:22:55 -06:00
btibi
dcb7d51466
syslog_ng: fix pep8 lint errors and warnings
2014-08-30 11:33:44 +02:00
btibi
e47c18203c
syslog_ng: remove unused pdb import
2014-08-30 11:11:26 +02:00
btibi
69b0deacf6
syslog_ng: add syslog-ng state and execution modules
2014-08-29 23:20:25 +02:00
Jon Henry
5b47b0bdb7
Fix gem unit test with new proxy parameter
2014-08-25 13:55:59 -06:00
Gavin Swanson
d972aeff55
Merge branch 'addCygwin' into develop
2014-08-23 15:56:32 -07:00
Gavin Swanson
4eaa601f3c
Added update and uninstall functions
...
Should be able to remove and update things now. Also doesn't always
update when installing anymore. Update now only called via
salt['cyg.update']()
2014-08-15 20:17:40 -07:00
Gavin Swanson
c8d19409f6
Add cygwin package installation
...
Currently only hadles adding packages. Does not remove packages. It is
setup to update packages any time it is run, but there is no independent
update functionality.
Curently no unit/integration testing is done. I haven't wrapped my head
around the way the mocking and stuff is done yet.
2014-08-15 14:13:22 -07:00
Jon Henry
c065ac4f50
Fix gem unit test with new proxy parameter
2014-08-14 00:22:52 -06:00
Chris Rebert
b7ce0dbe60
more typos after disabling case-sensitivity
2014-08-11 10:57:41 -07:00
Rob Messick
4549ef25a2
Add support for pre_releases argument to the gem state
2014-07-25 12:30:42 -07:00
Colin Johnson
2ad52a5c06
LYFT-14491 - states unit test for rule modification
2014-07-23 22:59:28 +00:00
Khris Richardson
1acd82f3f1
add sphinx spelling extension. enforce en_us
2014-07-13 13:43:33 -05:00
Pedro Algarvio
7862600683
Remove syslog-ng tests. Refs #14163
2014-07-13 00:09:45 +01:00
btibi
f69977d3e5
Add syslog_ng state module.
2014-07-09 22:04:13 +02:00
Michaël Lemaire
7b437abd4f
Fixed MagicMock import in postgres_test
2014-05-28 15:14:22 +02:00
Michaël Lemaire
cd0f4adae8
Fixed postgres_group.present always updating on test=True
2014-05-28 15:11:24 +02:00
Michaël Lemaire
07bedfe362
Fixed state postgres_user always updating on test=True
2014-05-28 15:05:50 +02:00
Michaël Lemaire
a4b3ef9a69
Added unit tests for postgres_user.present
2014-05-28 14:58:53 +02:00
Michaël Lemaire
5126f0a8ac
states.postgres_extension: Fixed unit test patching (and renamed to PostgresExtensionTestCase for future tests)
2014-05-28 14:58:09 +02:00
Pedro Algarvio
4d7ca91424
Remove unnecessary
©️ and :license:
from file headers
2014-05-26 19:26:15 +01:00
David Boucha
9dc182a2f4
fix codeauthor misspellings
2014-05-21 18:59:02 -06:00
Gareth J. Greenaway
823575c901
Unit tests for file state broke after adding the follow_symlnks argument. Tests were looking for a value in a specific position in a dictionary which has been pushed back one value. Also fixing an issue that happened if the file being managed by the module is a symlink, file would be treated as a new file.
2014-05-14 11:30:28 -07:00
Chris Rebert
45981a56f9
lots of copyediting
2014-04-30 12:06:27 -07:00
Pedro Algarvio
18d969a674
Adapt the test to the changes made in 3c284b1b6
.
2014-04-27 12:35:07 +01:00
Pedro Algarvio
d5c90480fb
Bump deprecations to Lithium
2014-04-24 10:15:01 +01:00
Mathieu Le Marec - Pasquet
5ec87461c7
cron: pylint fixes
2014-04-18 12:38:54 +02:00
Mathieu Le Marec - Pasquet
9fa45ca022
cron: fix #11935
2014-04-18 09:14:21 +02:00
Pedro Algarvio
640de961ac
A new argument was added to the call, adjust.
2014-04-08 15:38:22 +01:00
Pedro Algarvio
ea8db1e427
Allow standalone test execution
2014-03-31 03:05:05 +01:00
Mathieu Le Marec - Pasquet
66e98055c9
cron: fix tests
2014-03-11 18:13:06 +00:00
Thomas S Hatch
b3f99f9833
Merge pull request #10776 from ticosax/fix-states.dockerio.run
...
Fix states.dockerio.run
2014-02-27 12:55:23 -07:00
Nicolas Delaby
c6b5ade054
declare encoding
2014-02-26 16:31:38 +01:00
Nicolas Delaby
853b5f4a8f
Add test for states.dockerio.run
2014-02-26 15:42:56 +01:00
Mathieu Le Marec - Pasquet
f9a116ee9c
Support multiline cron comments
...
This fixes #10721 .
2014-02-25 19:52:47 +00:00
Thomas S Hatch
6839eb1a56
fix cron test error in lint
2014-02-20 10:05:56 -07:00
Mathieu Le Marec - Pasquet
bfa176f110
cron: complete matching rework
2014-02-19 22:44:34 +01:00
Mathieu Le Marec - Pasquet
90dc963c1c
cron: better behavior of crontabs tracking
2014-02-19 20:39:44 +01:00
Pedro Algarvio
abedf1978e
Remove unused imports
2014-02-08 08:08:16 +00:00
Pedro Algarvio
22908278a4
Remove unused imports
2014-02-08 08:07:38 +00:00
Pedro Algarvio
140eb8af2b
Remove unused imports
2014-02-08 08:07:17 +00:00
Mathieu Le Marec - Pasquet
7039b4c974
postgres: support for extensions
2014-01-21 19:25:35 +01:00
Pedro Algarvio
e8de5e7077
Don't hardcode the virtualenv binary name
2013-12-31 14:49:22 +00:00
Pedro Algarvio
020d7896c5
Skip if the pip
library is not importable.
2013-12-31 14:22:35 +00:00
Pedro Algarvio
d14af796cc
Skip tests if virtualenv
is not available.
2013-12-31 14:12:02 +00:00
Mathieu Le Marec - Pasquet
1365688bf7
Again, more robustness for zcbuildout tests
2013-12-22 18:52:54 +00:00
Mathieu Le Marec - Pasquet
7d299f9c0f
pylint fixes
2013-12-04 00:25:56 +00:00
Mathieu Le Marec - Pasquet
5f46962e80
pep8 fixes
2013-12-04 00:25:50 +00:00
Mathieu Le Marec - Pasquet
e9246d2a77
Remove bootstrap.py's & adapt tests for zcbuildout module
2013-12-03 17:53:58 +00:00
Mathieu Le Marec - Pasquet
30511257a8
add requires_network for buildout test
2013-12-03 16:51:46 +00:00
Mathieu Le Marec - Pasquet
228c987b76
feat: buildout support
...
This fixes #8856 .
2013-11-29 18:51:20 +00:00
Pedro Algarvio
b21bf4b682
Extra or misplaced white-space
2013-11-27 12:59:56 +00:00
Pedro Algarvio
0ae1a15c61
PEP8 E302 and E303 blank lines fixes.
2013-11-27 12:11:45 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Emil Stenqvist
f487d5568a
Fix for issue #8519
...
Also added a test that fails prior to the fix, illustrating the problem.
2013-11-14 14:26:35 +01:00
Pedro Algarvio
55e0290da6
Fix the mocked contents pillar file state tests.
2013-11-12 07:55:03 +00:00
Pedro Algarvio
4c84b1da3e
State unit tests need to have an hardcoded __env__
.
2013-11-06 20:04:54 +00:00
Henrik Holmboe
77fd1acb7f
Change assertEquals to assertEqual
...
According to
http://docs.python.org/2/library/unittest.html#deprecated-aliases
assertEquals is a deprecated alias of assertEqual.
2013-10-24 11:39:04 +02:00
Seth House
bd897c0bdb
Add unit test for the "python" jinja filter
...
Missing from c91fe1c
(pull req #7866 ).
2013-10-16 09:24:40 -06:00
Pedro Algarvio
3c4f33a935
Adapt remaining test cases which relied on old versioning scheme.
2013-10-04 13:10:35 +01:00
Pedro Algarvio
7ae519c34e
Fix unit.states.rvm_test.TestRvmState.test_installed
2013-09-21 10:42:34 +01:00
Pedro Algarvio
e18ba0758b
Don't include authorship in generated documentation, the Sphinx way.
2013-09-16 17:24:00 +01:00
Pedro Algarvio
22873f63bb
Add another pip installed VCS test case using git+git://
2013-09-09 20:53:52 +01:00
Pedro Algarvio
51a01ef79b
Added mocked pip installation test-case for when pip's version is <=1.1
2013-08-29 10:57:50 +00:00
Pedro Algarvio
456360dc32
Fix test expected output plus an additional one for pip git install.
2013-08-26 17:05:47 +00:00
Pedro Algarvio
6e694791fb
Allow tests to be properly skipped if mock
is not installed.
2013-08-26 17:05:44 +00:00
Pedro Algarvio
5d26a9fd4b
Adapted unit.states.rvm_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
23fa44ff58
Adapted unit.states.pip_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
8f44dec13e
Adapted unit.states.gem_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
ef29861ff3
Adapted unit.states.file_test
to use salttesting.mock
2013-08-26 13:03:07 +00:00
Pedro Algarvio
5075898935
No absolute imports.
2013-08-22 21:45:45 +01:00
Pedro Algarvio
52b8da5d13
Adapt to the output when installing a package from a compressed file.
2013-08-22 21:06:06 +01:00
Pedro Algarvio
df8bdf8646
By forcing absolute imports, we don't have to rename the pip state module.
2013-08-22 19:02:18 +01:00
Pedro Algarvio
aea94fd6a2
Another example test case.
2013-08-22 19:02:18 +01:00
Pedro Algarvio
e70827371f
Some more requirements parsing tests
2013-08-22 19:02:18 +01:00
Pedro Algarvio
58ad040872
Use pip.req
for parsing package requirements. Minimal tests.
2013-08-22 19:02:17 +01:00
Pedro Algarvio
2b0bc7056e
Under python 2.6 using {}.format()
(without an index) is a ValueError
.
2013-08-06 19:29:08 +01:00
Roberto Aguilar
74be66baca
Added tests for file.managed contents_pillar param
2013-08-04 22:09:37 -07:00
Pedro Algarvio
42641c6153
Added test case to see if the usage of user
and runas
at the same time raises an exception.
2013-07-27 16:02:59 +01:00
Pedro Algarvio
c072fa0241
Also deprecate runas
on salt.states.pip
.
...
* Added mock tests to check if the deprecation is triggered, and to see if the deprecation is also returned to the user in a warnings key.
2013-07-27 15:58:28 +01:00
Xavier Barbosa
3f49000ba2
unittesting for file.serialize and yaml & json filters
2013-07-08 16:19:19 +02:00
Pedro Algarvio
c04cc4a945
Updated unit.states.rvm_test
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:03 +01:00
Pedro Algarvio
b13340e5ea
Updated unit.states.gem_test
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:03 +01:00
Pedro Algarvio
222be7b446
Make sure every test module is runnable by __main__
.
...
* Double to single quotes
2013-06-28 00:12:56 +01:00
Pedro Algarvio
64a0d631e1
Fix rvm unit tests.
2012-12-11 11:27:21 +00:00
John Debs
4a062f1e69
Logic and test fixes for version, ri, rdoc support in gem state
2012-11-15 18:05:06 -05:00
Jeff Schroeder
07b4c8b4ed
Skip the rvm and gem module/state tests when mock is missing
...
The mock python module is required for the gem and rvm tests.
If it is not available, the tests should be gracefully skipped.
From python runtests.py -u:
test__check_and_install_ruby (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test__check_ruby (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test__check_rvm (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test_gemset_present (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test_installed (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test_installed (unit.states.gem_test.TestGemState) ... skipped 'mock python module is unavailable'
test_removed (unit.states.gem_test.TestGemState) ... skipped 'mock python module is unavailable'
test__rvm (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test__rvm_do (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_gemset_list (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_gemset_list_all (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_install (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_list (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test__gem (unit.modules.gem_test.TestGemModule) ... skipped 'mock python module is unavailable'
test_list (unit.modules.gem_test.TestGemModule) ... skipped 'mock python module is unavailable'
test_sources_list (unit.modules.gem_test.TestGemModule) ... skipped 'mock python module is unavailable'
2012-06-30 12:29:48 -07:00
Jeroen Dekkers
92ffbaba6e
Be compatible with mock 0.7
2012-06-19 02:19:03 +02:00
L.C. Rees
140e8781df
- py3k updates
2012-05-31 23:31:27 -06:00
Anselm Helbig
d02f0beaee
added proper unit tests for gem and rvm modules and states; fixed bugs in the rvm module's install function and in the rvm state's handling of ruby versions
2012-05-03 11:33:16 +02:00