Nicole Thomas
eced487657
Merge pull request #24542 from msteed/py3-fix-arch
...
py3: fix arch failures
2015-06-09 17:49:52 -06:00
Michael Steed
ddde2e1e39
use a realistic service sid in test_getsid()
2015-06-09 14:50:30 -06:00
Michael Steed
f9cf15ad46
fix new failures on ubuntu 14.04
2015-06-09 14:18:04 -06:00
Michael Steed
f725b8e4fe
lint
2015-06-09 13:14:54 -06:00
Michael Steed
0543f9aa0d
fix tests/unit/modules/network_test.py
...
Explicitly test salt.ext.ipaddress in test_is_private() and
test_is_loopback() as originally intended.
2015-06-09 12:13:04 -06:00
Michael Steed
8669dacaf1
likewise in test_render_with_utf8_syntax_error()
2015-06-09 11:48:13 -06:00
Michael Steed
4b34b60623
set encoding in test_render_with_unicode_syntax_error()
2015-06-09 11:43:23 -06:00
Colton Myers
94d6ef1d17
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
doc/ref/modules/all/salt.modules.ipmi.rst
doc/ref/states/all/salt.states.tls.rst
doc/topics/cloud/index.rst
doc/topics/cloud/vsphere.rst
doc/topics/eauth/index.rst
salt/cli/batch.py
salt/modules/cmdmod.py
salt/modules/ipmi.py
salt/netapi/rest_cherrypy/app.py
salt/runners/http.py
salt/states/boto_elb.py
salt/states/dockerio.py
salt/states/linux_acl.py
salt/states/win_servermanager.py
salt/wheel/config.py
2015-06-09 11:41:07 -06:00
Michael Steed
ce5f14bb0e
set encoding in test__unicode_match()
2015-06-09 11:19:51 -06:00
Michael Steed
f85a3e39da
specify encoding in test_to_str()
2015-06-09 11:13:19 -06:00
Justin Findlay
73e6388acd
Merge pull request #24495 from jayeshka/rabbitmq_vhost_states-unit-test
...
adding states/rabbitmq_vhost unit test case.
2015-06-09 09:33:23 -06:00
Justin Findlay
bf1abccebe
Merge pull request #24445 from jayeshka/pyrax_queues_states-unit-test
...
adding states/pyrax_queues unit test case.
2015-06-09 09:28:45 -06:00
Thomas S Hatch
06279dd9b0
Merge pull request #24514 from msteed/py3-unittests-3
...
More py3 unittest fixes
2015-06-09 09:10:35 -06:00
Jayesh Kariya
31889e38eb
cosmetic change.
2015-06-09 19:44:16 +05:30
Jayesh Kariya
cf501cf60d
resolved error.
2015-06-09 18:10:37 +05:30
Jayesh Kariya
4bb6087722
Merge branch '2015.5' of https://github.com/saltstack/salt into rabbitmq_vhost_states-unit-test
2015-06-09 18:09:05 +05:30
Nicole Thomas
87e1c6008c
Merge pull request #24459 from basepi/merge-forward-develop
...
Merge forward from 2015.5 to develop
2015-06-08 22:27:08 -06:00
Nicole Thomas
fce998a58b
Merge pull request #24497 from jayeshka/rbenv_states-unit-test
...
adding states/rbenv unit test case.
2015-06-08 21:56:09 -06:00
Joe Julian
4a840f39d5
Fix tls test to work against develop branch
2015-06-08 17:36:29 -07:00
Joe Julian
048713747c
Revert "Disable tls tests (for now)"
...
This reverts commit 5833a0e535
.
2015-06-08 16:29:23 -07:00
Michael Steed
cb83dbf87e
py3: fix tests/unit/modules/pkg_resource_test.py
...
Mock the correct next()
2015-06-08 16:18:00 -06:00
Michael Steed
03ba3c4b1d
py3: fix tests/unit/modules/network_test.py
...
Mock whichever ipaddress modules was imported by the network module
2015-06-08 16:16:52 -06:00
Michael Steed
cded6bfc70
py3: fix salt/modules/rh_ip.py and tests
...
- use six-wrapped StringIO
- fix int/str comparison
2015-06-08 16:14:35 -06:00
Michael Steed
980e799122
py3: fix salt/modules/postgres.py and tests
...
- In db_create(), use an OrderedDict for options. This probably doesn't
matter in production, but a deterministic order makes the unit test
work across python 2 and 3.
- Use six-abstracted StringIO
- Use 0 instead of None as the expected successful return code
- Pass bytes instead of str to hashlib.md5()
2015-06-08 16:08:10 -06:00
Michael Steed
f163e50368
py3: fix salt/modules/network.py and friends
...
- dry: move mac address string-to-bytes conversion into a single routine
- add unit tests for said conversion routine
2015-06-08 16:03:19 -06:00
Colton Myers
5833a0e535
Disable tls tests (for now)
2015-06-08 15:27:47 -06:00
Michael Steed
97be5d7551
py3: fix tests/unit/modules/ini_manage_test.py
2015-06-08 08:49:14 -06:00
Michael Steed
bd8538db97
py3: fix salt/modules/file.py and unit tests
...
Most of the routines in the file execution module that operate on file
contents assume that they are dealing with text files (line-oriented
operations, regular expressions, etc). The exceptions are get_sum(),
get_hash(), and check_hash(). Outside of these three routines, files are
now opened in text mode.
2015-06-08 08:49:09 -06:00
Michael Steed
3c5e82e878
py3: fix tests/unit/modules/deb_apache_test.py
2015-06-08 08:48:55 -06:00
Michael Steed
a4c8e3172d
py3: fix salt/utils/rsax931.py and tests
2015-06-08 08:48:48 -06:00
Michael Steed
a1b693a9d1
fix failure in btrfs_test.py
...
test was failing on machines where /dev/sda3 was mounted
2015-06-08 08:48:33 -06:00
Jayesh Kariya
79d343a62b
adding states/rbenv unit test case.
2015-06-08 18:24:24 +05:30
Jayesh Kariya
3ad77143a8
adding states/rabbitmq_vhost unit test case.
2015-06-08 18:23:15 +05:30
Jayesh Kariya
7d96f27f91
adding states/rabbitmq_user unit test case.
2015-06-08 17:47:04 +05:30
Michael Steed
83a96367a4
Manual merge of #24414 per thatch45
2015-06-06 07:47:52 -06:00
Colton Myers
9cf402e0a7
Python3 compat
2015-06-05 13:52:35 -06:00
Colton Myers
6d503c12ea
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop
...
Conflicts:
doc/ref/modules/all/salt.modules.ipmi.rst
doc/ref/modules/all/salt.modules.system_profiler.rst
salt/fileclient.py
salt/loader.py
salt/modules/tls.py
salt/modules/win_path.py
salt/states/pkg.py
salt/utils/event.py
salt/utils/pagerduty.py
tests/unit/modules/seed_test.py
2015-06-05 13:03:48 -06:00
Colton Myers
c0ff4110ab
Merge pull request #24398 from makinacorpus/aptv
...
VirtualName for states.apt
2015-06-05 11:40:04 -06:00
Justin Findlay
36263405be
Merge pull request #24447 from jayeshka/rabbitmq_policy_states-unit-test
...
adding states/rabbitmq_policy unit test case.
2015-06-05 09:26:10 -06:00
Jayesh Kariya
9b038abd63
adding states/rabbitmq_policy unit test case.
2015-06-05 17:35:31 +05:30
Jayesh Kariya
cb0c99a012
adding states/rabbitmq_plugin unit test case.
2015-06-05 17:33:49 +05:30
Jayesh Kariya
ea27cefb10
adding states/pyrax_queues unit test case.
2015-06-05 17:32:19 +05:30
Mathieu Le Marec - Pasquet
785d27707f
VirtualName for states.apt
...
This fixes #24397
Signed-off-by: Mathieu Le Marec - Pasquet <kiorky@cryptelium.net>
2015-06-05 09:45:52 +02:00
Gareth J. Greenaway
c95f8be0ae
Updating unit tests based on changes to module.
2015-06-04 20:33:52 -07:00
Justin
1df4020ec2
Changed mock path to be absolute in test_parse_targets
2015-06-04 11:11:33 -06:00
Justin Findlay
deaee68b89
Merge pull request #24371 from joejulian/2015.5_tls_module_tests
...
2015.5 tls module tests
2015-06-04 09:20:16 -06:00
Justin Findlay
84686ee695
Merge pull request #24403 from jayeshka/process_states-unit-test
...
adding states/process unit test case.
2015-06-04 09:19:01 -06:00
Justin Findlay
35de8d72db
Merge pull request #24402 from jayeshka/pyenv_states-unit-test
...
adding states/pyenv unit test case.
2015-06-04 09:18:11 -06:00
Justin Findlay
632f838838
Merge pull request #24401 from jayeshka/powerpath-states-unit-test
...
adding states/powerpath unit test case.
2015-06-04 09:17:46 -06:00
Jayesh Kariya
5f263ab48b
adding states/pyenc unit test case.
2015-06-04 17:50:04 +05:30