Pedro Algarvio
4a25daa211
Py3 compatibility
2015-01-30 22:27:10 +00:00
Pedro Algarvio
5dab3e0d7d
Py3 compatibility fixes.
2015-01-30 22:25:29 +00:00
Pedro Algarvio
e6ab1d4ba1
Fix import
2015-01-30 22:25:19 +00:00
Pedro Algarvio
403abc88e1
Py3 compatibility fixes
2015-01-30 22:25:10 +00:00
Pedro Algarvio
91d185153c
Py3 compatibility fixes
2015-01-30 22:25:10 +00:00
Pedro Algarvio
5d570561fd
Py3 compatibility fixes
2015-01-30 22:25:10 +00:00
Pedro Algarvio
665127c932
Py3 compatibility fixes
2015-01-30 22:25:10 +00:00
Pedro Algarvio
fda912f2d8
Py3 compatibility fixes
2015-01-30 22:25:10 +00:00
Pedro Algarvio
7360164558
Py3 compatibility fixes
2015-01-30 22:25:09 +00:00
Pedro Algarvio
fcd9832863
Py3 compatibility fixes
2015-01-30 22:25:09 +00:00
Pedro Algarvio
ec93519312
Py3 compatibility fixes
2015-01-30 22:25:09 +00:00
Pedro Algarvio
f07427a0ed
Py3 compatibility fixes
2015-01-30 22:25:09 +00:00
Pedro Algarvio
b54c02930f
Py3 compatibility fixes
2015-01-30 22:25:09 +00:00
Pedro Algarvio
a4e48e8873
Py3 compatibility fixes
2015-01-30 22:25:05 +00:00
Pedro Algarvio
dd146ca3e5
Py3 compatibility fixes
2015-01-30 22:25:04 +00:00
Pedro Algarvio
60f215f191
Add from __future__ import absolute_import
2015-01-30 22:25:04 +00:00
rallytime
69d7a6ebd0
Pylint fixes for the 2015.2 branch
2015-01-23 10:57:18 -07:00
Thomas S Hatch
9cdbf2b2f7
Merge pull request #19972 from rallytime/bp-19746
...
Backport #19746 to 2015.2
2015-01-22 17:55:27 -07:00
Mathias Gug
dd097b730d
Fix style issues.
2015-01-22 14:40:49 -07:00
Mathias Gug
4542072c4e
Add boto_sns module and state.
...
Include integration tests.
2015-01-22 14:40:32 -07:00
Mathias Gug
a454d71bd5
Fix coding style.
2015-01-22 14:24:30 -07:00
Mathias Gug
adf4c7a1af
Skip boto_iam integration tests if boto is not available
...
or properly configured.
2015-01-22 14:24:30 -07:00
Mathias Gug
6a18c71f1d
Add comment.
2015-01-22 14:24:29 -07:00
Mathias Gug
0d158cfa12
Add get_account_id function boto_iam
...
so that we can retrieve the AWS account id associated with the
credentials used to connect to AWS.
2015-01-22 14:24:29 -07:00
Mathias Gug
85ec021a73
Merge remote-tracking branch 'upstream/develop' into support-sns-subscriptions
...
Conflicts:
tests/integration/states/boto_sns.py
2015-01-22 11:11:51 -08:00
Mathias Gug
b79756bdd5
Support subscriptions in sns topic state.
2015-01-22 11:04:31 -08:00
Pedro Algarvio
b0920b226e
We still support Python 2.6, so, we need indexes.
2015-01-21 02:11:48 +00:00
Thomas S Hatch
8bfb79c8d9
Merge pull request #19812 from matthew-muscat/develop
...
Update hosts file creation for consistency and improved readability
2015-01-20 14:52:01 -07:00
Matthew Muscat
f44d67471d
Update hosts module test
...
Update test case to account for formatting changes in b82001fcd4
2015-01-18 00:33:00 +11:00
Mathias Gug
e5ab359bdd
Fix style issues.
2015-01-14 16:02:50 -08:00
Mathias Gug
6f9fbe23d6
Add boto_sns module and state.
...
Include integration tests.
2015-01-14 15:43:06 -08:00
Mathias Gug
97d0f93fd3
Fix coding style.
2015-01-14 13:06:43 -08:00
Mathias Gug
30625a0437
Skip boto_iam integration tests if boto is not available
...
or properly configured.
2015-01-14 11:49:54 -08:00
Mathias Gug
61eeac5465
Add comment.
2015-01-14 11:12:23 -08:00
Mathias Gug
3ff36a9692
Add get_account_id function boto_iam
...
so that we can retrieve the AWS account id associated with the
credentials used to connect to AWS.
2015-01-14 11:08:54 -08:00
Mike Place
cba0d6d597
Fix tests
2015-01-12 16:01:10 -07:00
Colton Myers
3ce5eb2838
Merge branch '2014.7' into merge-forward-2015.2
...
Conflicts:
salt/modules/archive.py
salt/modules/brew.py
salt/modules/pip.py
tests/unit/modules/archive_test.py
tests/unit/modules/pip_test.py
2015-01-09 11:39:09 -07:00
rallytime
ea769829af
Fix my pylint errors
2015-01-08 15:09:55 -07:00
rallytime
41841701e7
Fix djangomod.py integration test failures
2015-01-08 12:57:11 -07:00
Colton Myers
a60fa6b3d1
Merge branch '2015.2' into develop
2015-01-08 11:29:08 -07:00
rallytime
74a1861655
Merge branch '2015.2' into merge_forward_develop
2015-01-07 17:01:25 -07:00
Colton Myers
70489c62a7
Merge branch '2014.7' into merge-forward-2015.2
...
Conflicts:
salt/modules/cron.py
salt/modules/rabbitmq.py
salt/modules/smf.py
salt/modules/upstart.py
salt/modules/useradd.py
salt/modules/zpool.py
salt/pillar/git_pillar.py
2015-01-07 14:49:58 -07:00
rallytime
4e87557748
--local is not available in older versions of git
...
Also adjust the tests:
subprocess.check_output is only available in python 2.7
2015-01-07 11:56:43 -07:00
rallytime
194c0696aa
Fix my pylint errors
2015-01-06 17:27:38 -07:00
Seth House
e96654744f
Added test for git_pillar branch to env mappings
2015-01-06 16:51:58 -07:00
rallytime
ed3a34624c
Fix djangomod.py integration test failures
2015-01-06 22:26:46 +00:00
Colton Myers
f6eae029f0
Merge branch '2014.7' into merge-forward-2015.2
...
Conflicts:
pkg/windows/installer/Salt-Minion-Setup.nsi
salt/grains/core.py
salt/minion.py
salt/modules/mongodb.py
salt/states/archive.py
salt/states/mount.py
salt/utils/master.py
salt/utils/schedule.py
salt/utils/thin.py
tests/jenkins-ng.py
2015-01-06 13:14:27 -07:00
rallytime
57514d824b
Fix pylint on 2014.7 branch
2015-01-03 21:44:09 -07:00
Justin Findlay
4748156ed9
update cmdmod integration tests
2014-12-23 13:59:25 -07:00
Mike Place
67150306b6
Fix version test
2014-12-15 13:13:42 -07:00
Pedro Algarvio
a985f0ac4e
Disable some Pylint errors
2014-12-01 03:23:52 +00:00
Pedro Algarvio
14cc8931ed
Disable some Pylint errors
2014-11-28 15:30:05 +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
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
a802d8f7f5
Use the skip_if_binaries_missing_helper
2014-11-20 16:40:38 +00:00
rallytime
e70537eb2c
Fix missing cls variable and add some docstring info
2014-11-20 09:15:56 -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
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
rallytime
652d4b4803
Fix up the linux_acl test that is failing
2014-11-14 15:40:12 -07:00
Chris Rebert
478e406001
replace salt._compat.string_types with six.string_types
2014-11-11 13:45:52 -08:00
Roman Inflianskas
fb5e86aaa1
modules.linux_acl: satisfy pylint
2014-11-04 16:17:35 +03:00
Roman Inflianskas
83b760db44
modules.linux_acl: add integration tests
2014-11-04 14:45:23 +03:00
Colton Myers
0cc0d64136
Merge branch '2014.7' into develop
...
Conflicts:
salt/modules/hg.py
2014-10-31 16:14:34 -06:00
Thomas Jackson
6262d44d50
Add "normalize_ret" function, so we don't have to copy/paste so much
...
Add checks for "changes" since we want to test cases where there aren't changes to be made
2014-10-30 16:58:03 -07:00
Thomas Jackson
d2b548a0e7
Add regression test for #17051
2014-10-30 16:43:06 -07:00
Thomas Jackson
6612aa808e
Revert spelling fix, since its a variable name :)
2014-10-29 13:56:44 -07:00
Thomas Jackson
aabe6460f6
Misc comment cleanup in tests
2014-10-28 08:12:10 -07:00
Thomas S Hatch
5ab6743b85
Merge branch '2014.7' into develop
2014-10-13 20:06:17 -06:00
Pedro Algarvio
e739561728
Use the salttesting skip helpers
2014-10-08 01:02:10 +01:00
Thomas S Hatch
0a094e2c43
Merge pull request #15104 from srkunze/feature/safe_env
...
Made safe environment copy
2014-09-08 14:48:58 -06:00
Sven R. Kunze
d294e95cf5
fixed test_os_environment_remains_intact
2014-09-05 12:20:08 +02:00
Antoine Jacoutot
1ef276575f
tests: recognize OpenBSD
2014-09-04 10:23:59 +02:00
Thomas S Hatch
ab1c6bcf27
One more test fix
2014-09-03 08:43:52 -06:00
Thomas S Hatch
b95d575e52
Fix tests for new changes from PR #15217
2014-09-02 17:39:50 -06:00
rallytime
b8db5ff56b
Change lxc skipIf message to be more helpful
2014-08-15 14:21:09 -06:00
rallytime
396a4de7c5
Make lxc tests run!
2014-08-15 11:09:20 -06:00
rallytime
7f170c126f
Remove 'RC1' from GIT_VERSION comparison
2014-08-14 11:06:18 -06:00
rallytime
fe5b8d22ec
Fix gitpillar skipIfs
2014-08-14 10:34:38 -06:00
rallytime
496cfe25b3
Add skipIfs to ext_pillar tests if GitPillar 0.3.2rc1 or > isn't installed
2014-08-13 14:14:53 -06:00
rallytime
7bb5ef3773
Skip lxc tests if no lxc and skip failing vt_test if running osx
2014-07-21 17:11:20 -06:00
Mike Place
919e9db946
Increase timeout for grains test
2014-07-17 13:27:08 -06:00
rallytime
486aa982ad
Fix spelling error: doctring -> docstring
2014-07-15 09:26:55 -06:00
Mike Place
a08849c270
Remove old-style env= tests.
2014-07-14 11:03:03 -06:00
Thomas S Hatch
7e54d0fa20
Revert "lxc refactor"
2014-07-12 11:38:03 -06:00
Matthew Williams
71e1522c08
WIP: continue restructure of modules.lxc
2014-07-11 19:17:55 +00:00
Matthew Williams
3a0263d551
WIP: lxc restructure
2014-07-11 18:28:37 +00:00
Matthew Williams
e102a95b84
use a faster template (sshd) for lxc integration tests
2014-07-10 14:38:28 -04:00
Matthew Williams
298d4e6eac
add lxc integration tests
2014-07-10 13:37:48 -04:00
Aditya Kulkarni
edfabad5e2
Skip tests if no internet connection
2014-07-08 17:16:47 -06:00
Aditya Kulkarni
a7b52855d3
Make sure multiple git pillar sources work
2014-07-08 10:58:31 -06:00
rallytime
d5c2a92d24
Fix typo in email from bad copy-paste
2014-07-07 16:12:11 -06:00
Mike Place
f9478a70f7
Fix all RAET publish tests
2014-07-01 15:13:52 -06:00
Pedro Algarvio
edffec0159
Fix imports
2014-06-15 13:05:19 +01:00
Pedro Algarvio
bd35008d34
No need for late imports. Use AdaptedConfigurationTestCaseMixIn
.
2014-06-15 13:05:19 +01:00
Mike Place
616c3b5547
Fix failing test
2014-06-12 13:35:36 -06:00
Pedro Algarvio
5f2cc54160
Assert proper return types from state calls.
...
Just to be sure.
2014-06-11 01:12:13 +01:00
Pedro Algarvio
01a48b6b5b
Fix PEP8 E714 - test for object identity should be "is not"
2014-06-06 11:37:16 +01:00
Pedro Algarvio
e03226c67b
Fix PEP8 E713 - test for membership should be "not in"
2014-06-06 11:27:26 +01:00
Pedro Algarvio
d1a8e772da
Fix PEP8 E713 - test for membership should be "not in"
2014-06-06 11:27:01 +01:00
Pedro Algarvio
4d7ca91424
Remove unnecessary
©️ and :license:
from file headers
2014-05-26 19:26:15 +01:00
Pedro Algarvio
5a8575dbb9
The helper method is now released
2014-05-20 10:53:47 +01:00
Thomas S Hatch
837ba1745d
Merge pull request #12821 from rallytime/list_aliases
...
Make salt.states.target behave correctly with list of targets
2014-05-16 08:50:58 -06:00
rallytime
444cf57a9f
Make salt.states.target behave correctly with list of targets
2014-05-15 12:47:26 -06:00
Mike Place
a3c848ede8
Heavy linting of docker module and re-do docker tests.
2014-05-15 09:53:30 -06:00
Thomas S Hatch
988101cf8d
update tests to handle new return data from states
2014-05-14 16:09:27 -06:00
Pedro Algarvio
91182e9e44
Replace string substitution with string formatting
2014-05-01 13:29:38 +01:00
Mike Place
637c372aae
Fix bug with mod_watch in supervisor modules
...
* Also adds __virtual__ support to supervisord exec module
* Closes #6692
Remove uneeded module.
Don't run supervisord tests without supervisord
Fix state test.
Pulled in an old pylint breakage.
Conflicts:
salt/modules/saltutil.py
2014-04-23 16:14:12 -06:00
Erik Johnson
74180b1da0
More test fixes
2014-04-21 20:36:23 -05:00
Erik Johnson
c41526c913
Fix tests to match new error messages
2014-04-21 20:07:06 -05:00
Pedro Algarvio
bb70a0e381
Switch quotes to make test pass
2014-03-31 22:30:16 +01:00
Thomas S Hatch
88bcbc4e53
Merge pull request #11594 from rallytime/darwin_sysctl_test
...
Tests and added functionality for darwin_sysctl module
2014-03-27 13:34:43 -06:00
rallytime
4c2adea74e
Added functionality to sysctl.persist and integration tests for darwin_sysctl module
2014-03-27 13:05:22 -06:00
Thomas S Hatch
95ade395d6
Merge pull request #11511 from rallytime/darwin_sysctl_test
...
More darwin_sysctl tests
2014-03-25 14:23:20 -06:00
rallytime
27985060e2
Integration tests started for darwin_sysctl module
2014-03-25 13:52:54 -06:00
Pedro Algarvio
ed12816806
Update tests to new event classes signatures.
2014-03-24 16:54:31 +00:00
rallytime
1c26ce3845
Integration tests for brew module
2014-03-21 10:52:51 -06:00
rallytime
761a774424
Integration tests for mac_group module
2014-03-18 14:34:36 -06:00
rallytime
813920b092
Merge branch 'develop' of https://github.com/saltstack/salt into mac_group
2014-03-18 13:11:42 -06:00
rallytime
f2cff53756
Check if gid exists before adding group and associated tests
2014-03-18 13:02:20 -06:00
rallytime
42ae77f181
destructive tests
2014-03-17 13:34:05 -06:00
rallytime
29cd475d30
clean-up after changing user info tests
2014-03-17 13:16:45 -06:00
rallytime
e2af3aca24
Integration tests for changing user info in mac_user module
2014-03-17 13:10:36 -06:00
rallytime
d3bc7c800c
mac_user integration tests
2014-03-17 09:02:16 -06:00
rallytime
ad6bcbdd73
pylint fixes
2014-03-13 14:29:58 -06:00
rallytime
aacf7ee6ac
Ah! Almost forgot the destructive test decorators
2014-03-13 13:55:32 -06:00
rallytime
1dd6fd45bc
Pylints
2014-03-13 13:51:58 -06:00
rallytime
69d974d764
Refactored and wrote more mac_user integration tests
2014-03-13 13:47:01 -06:00
rallytime
b9ea2d09f4
pylint fixes
2014-03-11 21:45:41 -06:00
rallytime
edfd0f4a99
Wrote a mac_user integration test
2014-03-11 15:26:16 -06:00
rallytime
b7d4e2ed96
Started some integration tests for mac_user module
2014-03-10 11:19:40 -06:00
Thomas S Hatch
81790838fa
tmp stub out test until we can find a better home for it
2014-02-17 14:31:41 -07:00
Vye Wilson
e2b1381185
Adds support for updating cached git repo url.
...
Fixes #10408
2014-02-12 18:58:42 -08:00
Pedro Algarvio
059ed16d02
Remove unused import
2014-02-12 15:37:15 +00:00
Pedro Algarvio
b60a0543ce
Skip test if binaries missing
2014-02-08 07:45:25 +00:00
Pedro Algarvio
3e0780fa78
Remove unused imports
2014-02-08 07:43:30 +00:00
Pedro Algarvio
8e0233bbb8
Remove unused imports
2014-02-08 07:42:32 +00:00
Pedro Algarvio
378a9d5b21
Simplify test requirements.
2014-02-03 10:55:44 +00:00
Thomas S Hatch
ce1f305745
Merge pull request #10031 from kaithar/feature/test-fixes
...
Feature/test fixes
2014-01-31 09:38:38 -08:00
Daniel Bradshaw
bc967fa3fb
Expand tests for manage_mode
2014-01-29 18:46:44 +00:00
Daniel Bradshaw
0a7546b1b1
Correct import
2014-01-29 18:01:35 +00:00
Daniel Bradshaw
b89ca9e9e7
Attempt to correct test failing due treating 0755 as octal but passing it as decimal.
2014-01-17 22:49:36 +00:00
Daniel Bradshaw
3896313436
Changing zfill(3) to zfill(4) so that we get '0700' instead of '700'
...
There is a possibility of this causing regressions, it will work correctly where both params are passed through it or where it's being compared with stat() output. If there is code expecting a '700' style permission it will fail. Realistically, '0700' is correct so the other code needs to be fixed.
2014-01-17 21:09:35 +00:00
Erik Johnson
18a4c95f46
whitelist expand_repo_def in test_valid_docs
2014-01-16 22:40:22 -06:00
Pedro Algarvio
4221499b59
Some systems do not have the python
binary
2014-01-14 14:10:33 +00:00
Pedro Algarvio
ab6d7d8029
Skip test if the which
binary is not available
2014-01-14 12:30:18 +00:00
Pedro Algarvio
106c44587e
Merge pull request #9701 from s0undt3ch/hotfix/ssh-binaries
...
Skip the tests if binaries are missing.
2014-01-11 14:47:14 -08:00
Pedro Algarvio
2bb11d24b9
Skip the tests if binaries are missing.
2014-01-11 14:38:17 -07:00
Pedro Algarvio
b1ddb350b6
Some more white-space lint fixes
2014-01-11 13:48:12 -07:00
Pedro Algarvio
c8038d87b1
Use KNOWN_BINARY_NAMES
from salt.modules.virtualenv
2014-01-11 12:19:29 -07:00
Pedro Algarvio
2cab3227fd
The virtualenv binary can have multiple CLI names.
2014-01-02 20:27:18 +00:00
Thomas S Hatch
26a3eb1ec8
remove test for not yet covered case
2013-12-19 14:27:40 -07:00
Pedro Algarvio
b7b99a3a06
Let's see if PyLint stops complaining.
2013-12-14 00:40:34 +00:00
Thomas S Hatch
49f4ae324f
Changed underlying error message to be more concise
2013-12-13 15:27:44 -07:00
Thomas S Hatch
39e849c314
pylint fixes
2013-12-12 20:51:28 -07:00
Thomas S Hatch
ea22369481
lint fixes for mysql tests
2013-12-12 15:13:20 -07:00
regilero
f1b6b4af55
MySQL tests: add a localhost target on mysqladmin test to check for MySQL server presence
2013-12-12 21:23:52 +01:00
regilero
9195f8e5f7
Lint fix
2013-12-11 14:40:42 +01:00
regilero
3b14cd7cb4
Merge remote-tracking branch 'upstream/develop' into mysql_additions
2013-12-11 00:56:56 +01:00
regilero
f980c64bc4
MySQL Module: remove use_unicode connection attribute, not needed for charset managment and would create new bugs with unicode() strings
2013-12-10 23:07:13 +01:00
regilero
532796b4d2
MySQL module integration tests: grants tests and percent and _ tests
2013-12-10 22:54:45 +01:00
Gareth J. Greenaway
ca9197c5a7
Added missing definitions for networking setting, add and get. Changed interface parsing to use a dictionary for inet and inet6 interfaces instead of an array. Certain assumptions were made within the code on the order the ipv4 & ipv6 interfaces would appear, using a dictionary instead resolves some potential issues that could have popped up with an array. removing the tests for ip.get_network_settings and ip.build_network_settings from the exclusion.
2013-12-10 11:46:47 -08:00
regilero
2dc7d80786
MySQL: Module: user_grants tests
2013-12-09 20:48:36 +01:00
Thomas S Hatch
2571d4706c
Merge pull request #9059 from terminalmage/issue5919
...
Add check for '.' in require/watch requisites
2013-12-09 10:17:45 -08:00
regilero
dc615426e7
BUG: white list filtering of grants
2013-12-09 16:27:26 +01:00
regilero
66b6ac31a7
MySQL module test: test conn except for utf-8 db names
2013-12-08 16:37:45 +01:00
Erik Johnson
a7769b358e
Quiet travis failures for new functions missing docstrings
2013-12-06 16:27:56 -06:00
Erik Johnson
685d1d36de
Fix requisite tests
...
Now that state.func_name is invalid in requisites, remove them from this
test.
2013-12-06 15:16:57 -06:00
Thomas S Hatch
a6eb0cb460
Fix code errors in disk integration test
2013-12-06 10:49:19 -07:00
regilero
a59d47bc9e
Merge remote-tracking branch 'upstream/develop' into mysql_additions
2013-12-06 10:53:32 +01:00
Joseph Hall
17ca2aeac2
Merge pull request #9024 from cachedout/#8976
...
Grains detection for LXC and fix error in disk.usage under Docker
2013-12-05 04:34:15 -08:00
regilero
0bfbd7835e
MySQL: Suspend grants tests
2013-12-04 22:43:27 +01:00
regilero
b376d1a82b
MySQL States integration module with db tests
2013-12-04 22:33:33 +01:00
regilero
5d9ed7d935
typo
2013-12-04 22:33:12 +01:00
regilero
934e62f587
Lint fixs
2013-12-04 22:33:03 +01:00
regilero
ee02117404
BUGFIX: custom MySQldb converter breaks use_unicode code in MySQLdb as 4 types should be set as list and not strings. It was breaking the connection when using use_unicode attribute
2013-12-04 22:32:53 +01:00
regilero
67dc2f5eaa
Mostly working mysql user management integrations tests
2013-12-04 22:32:44 +01:00
regilero
ffe6de1592
Integration tests for MySQL user managment, WIP
2013-12-04 22:32:07 +01:00
Mike Place
398ebc1503
Don't run the #8976 tests on Windows.
2013-12-04 12:38:54 -07:00
Mike Place
e6e0a7d919
Integration testing for #8976
2013-12-04 12:34:20 -07:00
Mathieu Le Marec - Pasquet
5f46962e80
pep8 fixes
2013-12-04 00:25:50 +00:00
Chris Rebert
d91851a479
fix naming of modules.mysql.quoteIdentifier() to follow convention
2013-12-03 10:42:24 -08:00
Pedro Algarvio
b71e7c6ba7
Fix Lint issues.
2013-12-02 13:06:35 +00:00
regilero
b93f1f8d02
MySQL: Add integration Tests for database names with utf8 characters
2013-12-02 12:13:10 +01:00
Pedro Algarvio
a6d0165977
Replace deprecated X.has_key(Y)
syntax with Y in X
.
2013-12-02 10:35:13 +00:00
Pedro Algarvio
29ee963f62
Fix Lint issues. Closes #8930 .
2013-12-02 10:33:13 +00:00
regilero
f5ea59df83
BUG: MySQL integration tests: false positive on accents with assertTrue, use assertEqual instead and comment accents tests
2013-12-01 17:11:37 +01:00
regilero
69fe9eb27d
MySQL: Module integration tests for maintenance tasks check/repair/optimize
2013-12-01 15:27:47 +01:00
regilero
95a41bdb9a
MySQL integration tests on module level unicode support
2013-12-01 01:35:41 +00:00
Pedro Algarvio
923428c68b
Fix PyLint issues.
2013-12-01 01:35:41 +00:00
Pedro Algarvio
c129d3f567
Remove packages installation from mysql tests and push that on travis yml with an opt_requirements.txt source
2013-12-01 00:34:58 +00:00
regilero
05c02c4c50
Try to install python-mysql in travis env via pip to enable MySQL module
2013-12-01 00:34:30 +00:00
regilero
b5f588a9fc
Initial MySQL integration test with MySQl packages installed
2013-12-01 00:34:29 +00:00
Pedro Algarvio
77df007d2f
Ignore the exception not declared Pylint error.
2013-11-27 13:04:45 +00:00
Pedro Algarvio
880c9b5cff
Fix PEP8 E261 - White space before inline comment
2013-11-27 12:56:35 +00:00
Pedro Algarvio
f2e3a4aebe
Fix PyLint C0322 and C0324 - Spaces around opertor and commas
2013-11-27 12:48:53 +00:00
Pedro Algarvio
eea0001942
Fix PyLint W0105(String statement has no effect)
2013-11-27 12:32:54 +00:00
Pedro Algarvio
7164ac1826
Fix Undefined variable
2013-11-27 12:31:27 +00:00
Pedro Algarvio
b841c7fdbe
Indexed .format()
curly braces!
2013-11-27 12:14:30 +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
Pedro Algarvio
b89252b264
The docker
tests need docker. Skip them if not available.
2013-11-27 10:36:51 +00:00
Thomas S Hatch
079c849adf
Merge pull request #8834 from cro/dockerio_cleanup
...
Add some tests for docker integration.
2013-11-26 11:18:22 -08:00
C. R. Oldham
10ef0de5f6
Add some tests for docker integration.
2013-11-26 12:13:25 -07:00
Thomas S Hatch
5637339b2c
Merge pull request #8823 from regilero/requisites-fix
...
Fix #8773 : allow syntax error state.foo in requisites with a warning.
2013-11-26 08:07:40 -08:00
regilero
4497751420
Fix #8773 : allow syntax error state.foo in requisites with a warning.
2013-11-26 11:57:09 +01:00
regilero
9094d36b44
Comment tests for closed issue #8802
2013-11-26 10:54:32 +01:00
regilero
ab88a276dc
remove test for issue #8976 closed as expected behavior
2013-11-26 10:51:47 +01:00
regilero
9b20a408a4
commented tests for issue 8802 use recursion undetected
2013-11-25 15:35:22 +01:00
regilero
38bd6709f0
require vs require_in in not-list yamlsyntax: differences, still on #8235
2013-11-25 12:58:59 +01:00
regilero
58bfbff843
prereq tests for issue #8235 (yaml without lists) and error message difference in no-list mode
2013-11-25 12:46:02 +01:00
regilero
8024df8404
Add test for #8796 : use does not inherit require. False test actually
2013-11-25 11:06:37 +01:00
regilero
8177f2b609
Add another working prereq simple test
2013-11-24 18:30:15 +01:00
regilero
ddb99a570d
require and prereq mixed tests, mostly failing, see #8785
2013-11-24 18:28:22 +01:00
regilero
ab4ee0ba1f
full sls require test, and yet to do check for require_in or prereq #8233
2013-11-23 18:56:07 +01:00
regilero
7b01991c0a
require recursion and still not done prereq recursion
2013-11-23 18:20:15 +01:00
regilero
a99cd0eafd
Use requisite
2013-11-23 17:26:37 +01:00
regilero
6a7d35bc59
commented test for issue #8211 complex prepreq
2013-11-23 16:59:10 +01:00
regilero
ceb5963094
Prereq and prerequ_in tests
2013-11-23 16:39:19 +01:00
regilero
407533dfa5
require and require_in tests
2013-11-23 16:37:57 +01:00
Pedro Algarvio
4fb38e1e91
Merge pull request #8385 from s0undt3ch/hotfix/test-kwarg
...
Document passing arguments with equal signs. Refs a1ba178d
.
2013-11-10 10:28:20 -08:00
Pedro Algarvio
a192d03ffb
Only delete the file if it actually exists.
2013-11-10 15:36:39 +00:00
Pedro Algarvio
66cf8f1845
The argument name is arg
, not args
.
2013-11-10 15:36:11 +00:00
Pedro Algarvio
0f25353e08
Pass a relative path for proper test execution.
...
If we're trying to test a failure which happens when the path is not absolute, let's not pass it an absolute path in the first place.
2013-11-10 15:30:42 +00:00
Pedro Algarvio
c66fc86f79
Document passing arguments with equal signs. Refs a1ba178d
.
...
Add additional documentation regarding arguments passing with equal signs for which salt tries hard to turn into keyword arguments. The problem now arises because non supported arguments immediately thrown an exception.
2013-11-10 11:40:01 +00:00
Henrik Holmboe
043f9bf85a
Fix typos
2013-11-07 10:06:37 +01:00
Pedro Algarvio
ec0a4bca8e
URL environment selection should also be using saltenv
.
2013-11-06 23:36:40 +00:00
Pedro Algarvio
b82a051aef
Correctly trigger the issue reported on #8196 .
2013-11-06 22:49:29 +00:00
Pedro Algarvio
3477300d7f
Add a test case to check for proper env selection when passing ?env=foo
. Refs #8196 .
2013-11-06 22:47:55 +00:00
Pedro Algarvio
c170d1e572
Updated test cases to include environment selection in states using __env__
.
2013-11-06 20:04:54 +00:00
Pedro Algarvio
ec76b188b1
Correctly trigger the issue reported on #8196 .
2013-11-06 20:03:44 +00:00
Pedro Algarvio
2924f1c14a
Add a test case to check for proper env selection when passing ?env=foo
. Refs #8196 .
2013-11-06 20:03:44 +00:00
Pedro Algarvio
c849c4b57f
Moved test cases from #8195 to a better place.
2013-10-31 18:54:25 +00:00
Henrik Holmboe
c10ed8ea60
Fix my typo
2013-10-24 11:42:52 +02: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
C. R. Oldham
8793429f72
Make sure that ssh keys don't get added with incorrect encoding types.
2013-10-15 11:48:28 -06:00
David Anderson
ec4475cf30
Fix issue 5951 - correct __opts__['file_roots'] in ext_pillars
2013-10-11 11:53:00 -06:00
David Anderson
25b0e3f89e
Restore the pillar[master][file_roots] when returning the pillar
2013-10-10 15:12:00 -06:00
Pedro Algarvio
c5082f2a77
Patch salt.utils.which
to fix Django tests.
...
After the check added in 8deefc16
, the django salt module integration test cases started to fail if the django administration script was not found in `$PATH`.
2013-10-04 19:07:11 +01:00
Pedro Algarvio
707385c1c1
Use the salt testing requires_salt_modules
decorator.
2013-09-28 18:57:38 +01:00
Pedro Algarvio
034d8f3a61
Skip tests if libvirt
is not importable.
2013-09-28 18:55:15 +01:00
Thomas S Hatch
bd846ffdbb
Merge pull request #7264 from holmboe/esxi-init
...
Introduce disk profiles and enable virt.init on an ESX host
2013-09-27 08:02:11 -07:00
Henrik Holmboe
5324d6a7eb
Two integration tests for virt.get_profiles
...
This will test the default NIC and disk profiles for KVM and ESX.
2013-09-27 01:41:52 +02:00
Pedro Algarvio
4a18003231
Error signatures changed, lets update test cases.
2013-09-24 22:08:08 +01:00
Pedro Algarvio
83d23d9be7
Use salt.utils.is_windows()
.
2013-09-24 22:08:08 +01:00
David Anderson
39690b4431
PEP8 fixes for integration.mine.MineTest
2013-09-18 15:22:46 -06:00
David Anderson
3f6de80e27
Add test for mine.delete module
2013-09-18 15:07:04 -06:00
David Anderson
8137097c9e
Add test for mine.flush module
2013-09-18 14:49:12 -06:00