Mike Place
5d15fb1f1b
Fix failing tests
2014-12-10 08:42:08 -07:00
Thomas S Hatch
bcb529f809
Merge pull request #18823 from scalp42/typos
...
Correct some typos
2014-12-09 14:43:15 -07:00
Thomas S Hatch
274aca9b5b
Merge pull request #18844 from rallytime/fix_parted_tests
...
Patch unittests when calling _validate_device
2014-12-09 11:46:58 -07:00
Thomas S Hatch
3d73816507
Merge branch '2014.7' into develop
...
Conflicts:
salt/modules/virtualenv_mod.py
salt/states/network.py
salt/utils/parsers.py
2014-12-09 10:59:18 -07:00
rallytime
8211dc2f00
Patch unittests when calling _validate_device
2014-12-09 10:48:02 -07:00
rallytime
db9ae406c3
Fix mocked calls in unit/modules/archive_test.py
...
This is due to the changes in #18621
2014-12-09 08:36:30 -07:00
Justin Findlay
b7467f5f45
update venv unit tests accordingly
2014-12-08 23:28:28 -07:00
Anthony Scalisi
55d1da42d3
fix typo in spec
2014-12-08 14:34:02 -08:00
Anthony Scalisi
44963fae0e
fix various typos
2014-12-08 14:32:53 -08:00
Pedro Algarvio
e4f39ed32f
Fix variable ref
2014-12-08 18:07:04 +00:00
Pedro Algarvio
9bf2f77b2e
Make coverage reports optional
2014-12-08 17:32:28 +00:00
Thomas S Hatch
59f16926e9
Revert "Channel/Sreq cleanup"
2014-12-04 13:26:04 -07:00
Colton Myers
472f6577e2
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/minion.py
salt/modules/localemod.py
salt/states/mount.py
salt/transport/__init__.py
salt/utils/schedule.py
2014-12-04 11:11:11 -07:00
Thomas S Hatch
f17b456e7d
Merge pull request #18663 from terminalmage/buildpackage-jenkins-adjustment
...
Always run download_packages() after executing buildpackage SLS
2014-12-03 21:06:54 -07:00
Thomas S Hatch
b1b770014b
Merge pull request #18592 from nazgul5/utils.network
...
salt.utils.network._interfaces_ifconfig: SunOS fix
2014-12-03 10:02:15 -07:00
Thomas Jackson
59b177097b
Remove tests for old interface
2014-12-02 22:51:47 -08:00
Pedro Algarvio
60b9d47be5
Merge pull request #18638 from s0undt3ch/2014.7
...
Some 2014.7 test fixes
2014-12-03 00:54:43 +00:00
Erik Johnson
5c864fa003
Always run download_packages() after executing buildpackage SLS
...
By restricting this function call to when the script is successful, we
end up losing the log file from buildpackage.py when it fails, making it next to
impossible to troubleshoot. This commit makes jenkins retrieve at least
the log file, no matter what happens.
2014-12-02 17:49:50 -06:00
Pedro Algarvio
a964a2161e
Switch imports and revert the assert to what it was.
2014-12-02 23:18:54 +00:00
Pedro Algarvio
04fe9382aa
Merge pull request #18585 from rallytime/cmd_unittests
...
Added some more cmdmod unittests
2014-12-02 15:54:57 +00:00
Pedro Algarvio
6a259dc229
Proper minion config initialization. Fix test.
2014-12-02 07:55:52 +00:00
Pedro Algarvio
c6eab06e70
Add required imports
2014-12-02 07:44:16 +00:00
Pedro Algarvio
f720fc1f78
Proper minion config initialization
2014-12-02 07:43:18 +00:00
Pedro Algarvio
0dd818053e
Proper minion config setup
2014-12-02 07:34:45 +00:00
Pedro Algarvio
55b68c389d
Merge branch '2014.7' into develop
...
Conflicts:
tests/unit/modules/boto_vpc_test.py
2014-12-02 01:40:47 +00:00
Pedro Algarvio
83153354c4
Remove PyLint disable rule in 2014.7
...
Since it's unlikely we upgrade PyLint in this branch
2014-12-02 01:37:42 +00:00
Pedro Algarvio
2396568dd5
Remove unused import
2014-12-02 01:36:49 +00:00
Pedro Algarvio
b37c76a800
Merge branch '2014.7' into develop
...
Conflicts:
tests/unit/modules/boto_vpc_test.py
2014-12-02 01:09:15 +00:00
Pedro Algarvio
6530a7911e
Disable the false import error
2014-12-02 01:06:56 +00:00
Pedro Algarvio
4372415db8
Merge branch 'merge-forward' of https://github.com/basepi/salt into develop
...
Conflicts:
salt/modules/zcbuildout.py
salt/runners/lxc.py
tests/unit/modules/boto_vpc_test.py
2014-12-02 00:30:31 +00:00
Pedro Algarvio
50105aa001
Merge branch '2014.7' into develop
...
Conflicts:
salt/modules/boto_secgroup.py
salt/modules/boto_vpc.py
tests/unit/modules/boto_vpc_test.py
2014-12-01 23:07:39 +00:00
Colton Myers
fcc2196a5f
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/cloud/__init__.py
salt/modules/boto_secgroup.py
salt/modules/boto_vpc.py
salt/modules/file.py
salt/modules/zcbuildout.py
salt/runner.py
salt/runners/lxc.py
salt/runners/manage.py
salt/utils/schedule.py
tests/unit/modules/boto_vpc_test.py
tests/unit/modules/hashutil_test.py
tests/unit/templates/jinja_test.py
2014-12-01 15:04:03 -07:00
rallytime
3760915099
Skip test_max_open_files test until we can find the real problem
2014-12-01 13:43:57 -07:00
Vitalii Nazg
8f9af6802b
Lint fixes: unused import, tabs
2014-12-01 22:08:23 +02:00
rallytime
a26cd377ff
More cmdmod unittests
2014-12-01 08:57:11 -07:00
rallytime
c3d90c9f4f
If umask=0 is provided, enter the umask if statement
...
Previously the 'Zero umask is not allowed' statement was not getting hit
Also updated the appropriate umask tests
2014-12-01 08:57:10 -07:00
rallytime
98b06be08a
Added some more cmdmod unittests
2014-12-01 08:57:10 -07:00
rallytime
e7cdd75090
Add another cmdmod.py unittest
2014-12-01 08:57:10 -07:00
Pedro Algarvio
be18e8b244
Disable some Pylint errors
2014-12-01 03:24:41 +00:00
Pedro Algarvio
bdf3a3e91c
Disable some Pylint errors
2014-12-01 03:24:37 +00:00
Pedro Algarvio
fd9377fefe
Disable some Pylint errors
2014-12-01 03:23:52 +00:00
Pedro Algarvio
a985f0ac4e
Disable some Pylint errors
2014-12-01 03:23:52 +00:00
Vitalii Nazg
8ff9e7f7e9
salt.utils.network._interfaces_ifconfig: SunOS fix
...
In SunOS 11.1 with IPv6 enabled interfaces occur twice in 'ifconfig -a'
output with the same name: for ipv4 and then for ipv6 addr family. Thus,
ipv6 data overwrites data collected from ipv4 interfaces.
Every instance has it's own 'UP' status and we assume that ipv4
status determines global interface status.
Thus commit tries to merge data from conflicting instances.
Also, regexp was tuned for SunOS's ifconfig.
2014-11-28 19:02:45 +02:00
Pedro Algarvio
9d6c855e1a
Disable some Pylint errors
2014-11-28 15:33:45 +00:00
Pedro Algarvio
b07707ff96
Disable some Pylint errors
2014-11-28 15:31:55 +00:00
Pedro Algarvio
8a1cc589a1
Disable some Pylint errors
2014-11-28 15:31:01 +00:00
Pedro Algarvio
14cc8931ed
Disable some Pylint errors
2014-11-28 15:30:05 +00:00
Pedro Algarvio
733b31da23
Merge branch '2014.7' into develop
...
Conflicts:
tests/unit/modules/hashutil_test.py
tests/unit/templates/jinja_test.py
2014-11-27 03:59:40 +00:00
Pedro Algarvio
78bc5107ee
Switch open()
for salt.utils.fopen()
2014-11-26 23:38:34 +00:00
Pedro Algarvio
62ec46d6dd
Switch open()
for salt.utils.fopen()
2014-11-26 23:37:01 +00:00
Pedro Algarvio
d957d2e911
Switch open()
for salt.utils.fopen()
2014-11-26 23:36:26 +00:00
Pedro Algarvio
bea345e720
Switch open()
for salt.utils.fopen()
2014-11-26 23:35:31 +00:00
Pedro Algarvio
1857a0d31f
Switch open()
for salt.utils.fopen()
2014-11-26 23:30:18 +00:00
Pedro Algarvio
8735242906
We need to call read()
!
2014-11-26 23:13:19 +00:00
Pedro Algarvio
b8b4158377
Remove unused import
2014-11-26 21:52:30 +00:00
Pedro Algarvio
aaf0f4aba0
Fix imports
2014-11-26 21:08:13 +00:00
Pedro Algarvio
1eeb02d93f
Add a missed with
2014-11-26 21:07:39 +00:00
Pedro Algarvio
47edf6fc89
Fix the with
context
2014-11-26 20:49:04 +00:00
Pedro Algarvio
bd7f23ac6f
Switch open()
for salt.utils.fopen()
2014-11-26 20:30:13 +00:00
Pedro Algarvio
bfe99dbb3f
Merge branch '2014.7' into develop
...
Conflicts:
salt/cloud/__init__.py
salt/modules/file.py
salt/modules/zcbuildout.py
salt/runners/lxc.py
salt/runners/manage.py
2014-11-26 20:14:56 +00:00
Pedro Algarvio
2d210b9055
Switch open()
for salt.utils.fopen()
2014-11-26 18:33:22 +00:00
Pedro Algarvio
9f60901597
Switch open()
for salt.utils.fopen()
2014-11-26 18:29:21 +00:00
Pedro Algarvio
737bd84402
Switch open()
for salt.utils.fopen()
2014-11-26 18:28:56 +00:00
Pedro Algarvio
53f554468d
Switch open()
for salt.utils.fopen()
2014-11-26 18:28:15 +00:00
Pedro Algarvio
91af550062
Switch open()
for salt.utils.fopen()
2014-11-26 18:25:20 +00:00
Pedro Algarvio
c4d0686024
Switch open()
for salt.utils.fopen()
2014-11-26 18:24:08 +00:00
Pedro Algarvio
89befb8827
Switch open()
for salt.utils.fopen()
2014-11-26 18:02:24 +00:00
Pedro Algarvio
b5cda75a8c
Switch open()
for salt.utils.fopen()
2014-11-26 18:01:35 +00:00
Pedro Algarvio
ea717d2422
Switch open()
for salt.utils.fopen()
2014-11-26 17:59:52 +00:00
Pedro Algarvio
d27c38d28f
Switch open()
for salt.utils.fopen()
2014-11-26 17:57:57 +00:00
Pedro Algarvio
70b657af20
Switch open()
for salt.utils.fopen()
2014-11-26 17:56:43 +00:00
Pedro Algarvio
46ea34b4f5
Switch open()
for salt.utils.fopen()
2014-11-26 17:55:30 +00:00
Pedro Algarvio
32b2f2e05f
Switch open()
for salt.utils.fopen()
2014-11-26 17:54:29 +00:00
Pedro Algarvio
2127a98667
Switch open()
for salt.utils.fopen()
2014-11-26 17:52:46 +00:00
Pedro Algarvio
9230f5b5ee
Switch open()
for salt.utils.fopen()
2014-11-26 17:50:47 +00:00
Pedro Algarvio
753338e078
Switch open()
for salt.utils.fopen()
2014-11-26 17:49:27 +00:00
Pedro Algarvio
2a597da207
Switch open()
for salt.utils.fopen()
2014-11-26 17:47:05 +00:00
Pedro Algarvio
6b72255e9b
Switch open()
for salt.utils.fopen()
2014-11-26 17:46:13 +00:00
Pedro Algarvio
5dfddc88a4
Switch open()
for salt.utils.fopen()
2014-11-26 17:39:49 +00:00
Pedro Algarvio
0723b24feb
Switch open()
for salt.utils.fopen()
2014-11-26 17:39:18 +00:00
Thomas S Hatch
d416b8b1b8
gix tornado merge conflict
2014-11-26 09:25:47 -07:00
Thomas S Hatch
6aa5b0f858
Merge branch '2014.7' into develop
...
Conflicts:
salt/modules/genesis.py
salt/modules/parted.py
salt/modules/win_service.py
salt/runner.py
salt/states/file.py
tests/integration/netapi/rest_tornado/test_app.py
2014-11-26 09:24:24 -07:00
Pedro Algarvio
50c437f8c5
Use atexit for the cleanup
2014-11-26 00:41:02 +00:00
Pedro Algarvio
593544b577
Move cleanup_runtime_config_instance
out of TestDaemon
2014-11-26 00:20:27 +00:00
rallytime
eeab98c3be
Skip tornado tests if we can't import ZMQIOLoop
...
Tornado tests were failing on Ubuntu 10 and 12 because they don't have
a new enough version of PyZMQ to use the ioloop.current function.
2014-11-25 13:06:33 -07:00
Mike Place
1daa9a4d69
Fix failing test in develop
...
Add progress
2014-11-25 10:31:27 -07:00
Thomas S Hatch
93ddc68b9a
Merge pull request #18454 from rallytime/cmd_unittests
...
Started some unit tests for the cmdmod.py module
2014-11-25 09:35:40 -07:00
Thomas S Hatch
b83ab14c01
Merge branch '2014.7' into develop
...
Conflicts:
salt/states/file.py
2014-11-25 09:29:58 -07:00
Mike Place
4451833a6b
Merge pull request #18292 from cachedout/fix_runners
...
If we want returns, maybe we shouldn't exit first
2014-11-25 09:12:41 -07:00
starzyk1
d6b5b58280
Fixes of pylint violations
2014-11-25 14:22:30 +01:00
starzyk1
4bdede0700
Fixes of pylint violations
2014-11-25 12:49:14 +01:00
Konrad Starzyk
0759323c99
Merge remote-tracking branch 'upstream/develop' into jboss7
2014-11-25 11:52:27 +01:00
starzyk1
50fab573c8
Fixes of pylint violations
2014-11-25 11:51:43 +01:00
Mike Place
d746bb272c
Run runner tests async
2014-11-24 20:48:04 -07:00
rallytime
dc3c8f91bd
Pylint fix
2014-11-24 19:44:54 -07:00
Pedro Algarvio
e8104167f4
Forced clean up of runtime config dictionary which includes a local client
2014-11-25 00:33:45 +00:00
rallytime
792433f915
Started some unit tests for the cmdmod.py module
2014-11-24 17:03:52 -07:00
rallytime
022d2dbbfb
Remove unused import
2014-11-24 13:02:08 -07:00
rallytime
512f07303a
Put the parser variable in the correct place
2014-11-24 12:13:38 -07:00
rallytime
d2e5443860
Add parser to jenkins.py
2014-11-24 11:58:24 -07:00
Pedro Algarvio
0b946ba32b
Merge branch '2014.7' into hotfix/merge-forward
2014-11-22 02:17:10 +00:00
Pedro Algarvio
6e0f4da593
Fix syntax errors
2014-11-22 02:16:26 +00:00
Pedro Algarvio
50bb9c3867
Merge branch '2014.7' into hotfix/merge-forward
...
Conflicts:
salt/fileclient.py
2014-11-21 23:39:28 +00:00
Pedro Algarvio
74e23b9e26
And also the base branch of the incoming PR's branch
2014-11-21 23:35:37 +00:00
Pedro Algarvio
672e98cf0f
Use requests instead of github package. Also output the PR incoming branch.
2014-11-21 23:33:29 +00:00
Konrad Starzyk
6656837ff0
Merge remote-tracking branch 'upstream/develop' into jboss7
2014-11-21 21:52:46 +01:00
Colton Myers
dc43840cee
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/modules/glusterfs.py
salt/modules/macports.py
salt/modules/makeconf.py
salt/modules/mdadm.py
salt/modules/smartos_vmadm.py
salt/modules/zypper.py
salt/utils/event.py
tests/integration/netapi/rest_tornado/test_app.py
tests/unit/netapi/rest_tornado/test_handlers.py
2014-11-21 12:05:32 -07:00
Thomas Jackson
44f91a1d21
Add regression test for #8670
...
Before the fix in #18363 get_event would return None on the first non-matching event (since wait was 0), this is to verify that get_event works properly with a wait of 0
2014-11-21 08:54:05 -08:00
Thomas Jackson
75bf7bd091
pylint fix
2014-11-20 18:35:41 -08:00
Thomas Jackson
0a1b88e6b5
Change all saltnado asserts to unittest asserts. This way when there is a failure you get nice pretty printouts!
2014-11-20 18:35:41 -08:00
Pedro Algarvio
7b4601219b
More import errors disables
2014-11-20 18:57:09 +00:00
Pedro Algarvio
0c50d789b7
The imports actually work so shut up PyLint!
2014-11-20 18:22:19 +00:00
Pedro Algarvio
21da23c070
Fix the class name
2014-11-20 17:35:42 +00:00
Pedro Algarvio
eb4bfbbde4
Remove slash
2014-11-20 17:19:58 +00:00
Pedro Algarvio
61de0bd629
Let's see if the slash makes a difference
2014-11-20 17:18:12 +00:00
Pedro Algarvio
5a3fead6de
Allow the tests to be properly skipped
2014-11-20 17:16:09 +00:00
Pedro Algarvio
10a9c479ff
Remove unused import
2014-11-20 16:45:36 +00:00
Pedro Algarvio
d651788dff
Allow the test cases to be properly skipped
2014-11-20 16:40:48 +00:00
Pedro Algarvio
76eb73b71e
Fix import
2014-11-20 16:40:48 +00:00
Pedro Algarvio
8ecd85edcc
Mock the right object
2014-11-20 16:40:48 +00:00
Pedro Algarvio
175cba7ff5
Fix imports
2014-11-20 16:40:47 +00:00
Pedro Algarvio
5cf320f45f
Allow the tests to be skipped
2014-11-20 16:40:47 +00:00
Pedro Algarvio
f37495c74f
Allow the test case to properly skip on missing tornado package
2014-11-20 16:40:47 +00:00
Pedro Algarvio
e45033b993
Make PyLint ignore unused imports
2014-11-20 16:40:47 +00:00
Pedro Algarvio
0e4f8de204
Use urlopen
from six
2014-11-20 16:40:46 +00:00
Pedro Algarvio
13df58d2e6
Use urlopen
and URLError
from six
2014-11-20 16:40:45 +00:00
Pedro Algarvio
2bc6b735ef
Use urlencode
from six
2014-11-20 16:40:45 +00:00
Pedro Algarvio
0937d2b4e1
Use urlencode
from six
2014-11-20 16:40:45 +00:00
Pedro Algarvio
6b19c7b03e
Use urlencode
from six
2014-11-20 16:40:45 +00:00
Pedro Algarvio
a802d8f7f5
Use the skip_if_binaries_missing_helper
2014-11-20 16:40:38 +00:00
Pedro Algarvio
66ea3afab8
Merge pull request #18326 from rallytime/pylinting
...
Fix missing cls variable and add some docstring info
2014-11-20 16:35:04 +00:00
rallytime
e70537eb2c
Fix missing cls variable and add some docstring info
2014-11-20 09:15:56 -07:00
Thomas Jackson
c68066d60b
Decrease timeout to fit into "long", before this timeout wasn't passed anywhere, but now that it is it has to fit into a C long otherwise you get errors like:
...
"OverflowError: Python int too large to convert to C long"
2014-11-20 07:46:13 -08:00
Konrad Starzyk
99406c2215
Merge remote-tracking branch 'upstream/develop' into jboss7
2014-11-20 11:20:41 +01:00
starzyk1
8101b2a8e7
Documentation fixes for jboss7 and artifactory states/modules
2014-11-20 11:16:57 +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
Mike Place
6b0e9c4e29
Provide nbopen poller default and increase interval in jenkins
2014-11-19 12:30:00 -07:00
Jonathan Ballet
a6c3499749
Please pylint
...
My patch #18221 yesterday introduced new Pylint warnings/errors.
This fixes these warnings.
2014-11-19 19:28:28 +01:00
Thomas S Hatch
873d1c1803
Merge pull request #18221 from multani/fix/git-config-set-shell-escape
...
Fix Git's config set with values containing white spaces.
2014-11-18 17:14:43 -07:00
Jonathan Ballet
97959959ca
Add future's absolute import to fix importation of git in tests
...
Tests in pillar.py are importing the "git" module, which is supposed to
be "GitPython", bt since Python 2.x doesn't use absolute import by
default, it imports the "git" submodule, which defines the tests for the
Git module of Salt, instead.
2014-11-18 22:46:35 +01:00
Colton Myers
716a7e3331
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/modules/bsd_shadow.py
salt/modules/freebsdjail.py
salt/modules/yumpkg.py
salt/modules/zfs.py
salt/modules/zypper.py
salt/netapi/rest_tornado/saltnado.py
salt/states/dockerio.py
2014-11-18 12:46:29 -07:00
Jonathan Ballet
38bb70d398
Fix Git's config set with values containing white spaces.
...
The Salt function 'git.config_set' and the state 'git.config' (which relies
on the former) don't escape the value to be set in the configuration file
passed by Salt. For example, this doesn't work:
mylocalrepo:
git.config:
- name: user.name
- value: "Jonathan Ballet"
- repo: file://my/path/to/repo
This set the 'user.name' configuration value to "Jonathan" only.
(Additionally, the state discovers that the value set is not the one
specified, and keeps trying to set the right value, which ends up with lot
of "name = Jonathan" into the "[user]" section of Git's config file.)
This commit fixes the problem and adds some unit tests to verify it's
working properly.
2014-11-18 20:02:24 +01:00
Thomas Jackson
837a8ed475
Move EventListener over to ZMQStreams
2014-11-17 08:24:28 -08:00
Thomas Jackson
f7adfb44e9
Increase timeout from 5s to 10s, since jenkins seems to have issues calling runners in 5s
2014-11-14 18:08:44 -08:00
rallytime
652d4b4803
Fix up the linux_acl test that is failing
2014-11-14 15:40:12 -07:00
Thomas Jackson
ea8b4bb479
Make sure to only cleanup the tag_map in the case that you timeout the future
2014-11-14 11:47:35 -08:00
Thomas Jackson
e2102fcbc7
Pylint cleanup
2014-11-14 09:15:54 -08:00
Colton Myers
9a89057f83
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/transport/__init__.py
2014-11-13 12:40:24 -07:00
Thomas Jackson
6f0552c9e1
Pylint fixes
2014-11-13 09:33:14 -08:00
Thomas Jackson
9e61037b0d
Cleanup, and fix exp_form override-- we need to do it after the ping to minions
2014-11-13 08:36:28 -08:00
Thomas Jackson
ce22427071
Remove timeout test since that no longer valid
2014-11-13 08:36:28 -08:00
Thomas Jackson
31b54762b0
Add tests for multi-post and multi-token
2014-11-13 08:36:28 -08:00
Thomas Jackson
a259f2149b
Move syndic_wait_done into base class (more than one func need it)
...
Change local_batch to just call local to get the minion list
2014-11-13 08:36:28 -08:00
Thomas Jackson
522090a8c8
Rework local to ping minions, and wait a min of syndic_wait (if a syndic)
2014-11-13 08:36:28 -08:00
Thomas Jackson
ebfee14fda
Add test for using a Future in multiple "Any" futures
2014-11-13 08:36:28 -08:00
Thomas Jackson
9d4784f835
Update todo marker
2014-11-13 08:36:28 -08:00
Thomas Jackson
8cd7b06b36
Change disbatch to handle different clients per lowstate chunk
2014-11-13 08:36:27 -08:00
Thomas Jackson
1131522eb5
Update TODO marker
2014-11-13 08:36:27 -08:00
Thomas Jackson
b99e189468
Add tests for WebhookSaltAPIHandler
2014-11-13 08:36:27 -08:00
Thomas Jackson
2d9b1df95d
Add tests for EventsSaltAPIHandler
2014-11-13 08:36:27 -08:00
Thomas Jackson
847df0fad6
Add RunSaltAPIHandler tests
2014-11-13 08:36:27 -08:00
Thomas Jackson
bd58ca8fa0
Add Jobs api endpoint tests
2014-11-13 08:36:27 -08:00
Thomas Jackson
f0f9b14ee2
Add tests for MinionSaltAPIHandler
2014-11-13 08:36:27 -08:00
Thomas Jackson
cd01c9a1d6
Add check for the redirect location
2014-11-13 08:36:27 -08:00
Thomas Jackson
8bd72aeb4f
Add test for unauthorized access
2014-11-13 08:36:27 -08:00
Thomas Jackson
7ef2537842
Finished basic tests for base SaltAPIHandler
2014-11-13 08:36:27 -08:00
Thomas Jackson
26afdd34ae
Re-factor test cases
2014-11-13 08:36:27 -08:00
Thomas Jackson
4b8ac6a9e3
Add tests for auth handler
...
break unit tests for handlers into a separate file
Misc error handling fixes in Login handler
2014-11-13 08:36:26 -08:00
Thomas Jackson
6245c27391
Add tests for deserialize (and fix a few bugs in there)
...
More cleanup of websockets separation
2014-11-13 08:36:26 -08:00
Thomas Jackson
ecbd269eda
Move future testing out of event listener test class
2014-11-13 08:36:26 -08:00
Thomas Jackson
ecefbb91dc
Add tests for Any Futures
...
move eventlistener callbacks into the class
2014-11-13 08:36:26 -08:00
Thomas Jackson
3816236e26
Add test for event you don't want
2014-11-13 08:36:26 -08:00
Thomas Jackson
257a73fb69
Add first tests for rest_tornado!
2014-11-13 08:36:26 -08:00
Nicole Thomas
d54fbe8887
Merge pull request #17866 from jfindlay/netapi_known_jid_test
...
integration test: known JID through netapi #15763
2014-11-13 09:17:45 -07:00
Chris Rebert
67b3e19690
tests/integration/__init__.py: salt._compat => six
2014-11-11 14:36:25 -08:00
Justin Findlay
b097a1e16b
pre-emptive pylint fix0r
2014-11-11 15:22:40 -07:00
Justin Findlay
abb3ba87bf
integration test: known JID through netapi #15763
2014-11-11 15:15:36 -07:00
Chris Rebert
478e406001
replace salt._compat.string_types with six.string_types
2014-11-11 13:45:52 -08:00
Thomas S Hatch
03e2785281
lint
2014-11-11 10:03:22 -07:00
Thomas S Hatch
0ea13995de
lint
2014-11-11 10:01:33 -07:00
Thomas S Hatch
840abd247a
Merge pull request #17283 from cachedout/event_runners
...
Evented runners
2014-11-10 19:58:50 -07:00
Thomas S Hatch
142efd56b0
Merge pull request #17574 from bechtoldt/tame_ipv6_regex_beat
...
Fix broken ipv6 address verification in salt.utils.validate.net
2014-11-10 18:57:57 -07:00
Arnold Bechtoldt
485796e9f9
use the right function to test
2014-11-11 02:14:58 +01:00
Arnold Bechtoldt
d03ff7d6dd
fix broken ipv6 address verification in salt.utils.validate.net
2014-11-11 01:42:46 +01:00
C. R. Oldham
8b8ab335cc
Merge pull request #17317 from cro/pg_role_quote_tests
...
Update tests to respect changes in pg module. Test failures are not related.
2014-11-10 16:51:43 -07:00
Mike Place
da163471af
Fix up tests
2014-11-10 15:42:45 -07:00
C. R. Oldham
0303154c31
Update tests to respect changes in postgres module
2014-11-10 14:37:44 -07:00
Thomas Jackson
f24c94dd7b
Pylint fixes
2014-11-10 13:03:35 -08:00
Thomas S Hatch
7300d3ac6a
Merge pull request #17291 from ashb/gem_bin
...
Allow specifying custom `gem` to use in gem state and module
2014-11-10 09:37:29 -07:00
Thomas S Hatch
8862c2e829
Merge pull request #17290 from plastikos/improvement-yaml_encode
...
Add yaml_encode() jinja filter
2014-11-10 09:35:39 -07:00
Thomas Jackson
c43ac0a4c2
remove comment from local debugging
2014-11-10 08:33:39 -08:00
Thomas Jackson
e862642ff7
Add tests for SREQ class
...
revert keys() change to socket dicts since we will mutate the dict on iteration
2014-11-10 08:29:58 -08:00
Pedro Algarvio
1071ec0859
Merge branch '2014.7' into develop
2014-11-09 14:19:33 +00:00
Pedro Algarvio
ed321a4898
Don't reset the template registry
2014-11-09 14:17:15 +00: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
Pedro Algarvio
d8315ebd32
Merge branch '2014.7' into develop
2014-11-08 09:39:55 +00:00
Justin Findlay
ba1ce3dfc5
pylint fixes
2014-11-08 00:33:02 -07:00
Thayne Harbaugh
e4488a3956
Add yaml_encode() jinja filter
...
* Add documentation for yaml_encode()
* Mention yaml_encode() in formulas documentation
* Add unit tests for yaml_encode()
* Improve unit tests and documentation for related yaml_dquote()
2014-11-07 19:12:58 -07:00
Justin Findlay
9e9903c521
add unit tests for salt/modules/cp.py
2014-11-07 16:35:25 -07:00