rallytime
2035e7d153
Added S0undt3ch's skipIf suggestion
2014-02-12 11:04:35 -07:00
rallytime
1b55edd4fb
We cannot use the requires_salt_modules decorator because we do not inherit from an integration test class.
2014-02-12 10:36:22 -07:00
Pedro Algarvio
9452fa25a3
Skip tests if mock not available, make use of helpers
2014-02-12 15:42:51 +00:00
Pedro Algarvio
059ed16d02
Remove unused import
2014-02-12 15:37:15 +00:00
Pedro Algarvio
7465f0511f
Remove unused import
2014-02-12 15:36:17 +00:00
Pedro Algarvio
c15526852a
Remove unused imports
2014-02-12 15:35:14 +00:00
Pedro Algarvio
720a094142
Fix lint issues and make use of the helpers.
...
Double to single quotes.
2014-02-12 15:32:55 +00:00
Thomas S Hatch
a7baf5936c
Revert "add sequence filter for jinja"
...
This reverts commit cbe04b8231
.
2014-02-11 15:59:22 -07:00
Thomas S Hatch
3cbe200eb1
Merge pull request #10361 from johnnoone/jinja-filter
...
add sequence filter for jinja
2014-02-11 15:38:32 -07:00
Thomas S Hatch
5239c8b192
Merge pull request #10337 from bemehow/blockdev
...
blockdev state, module and test
2014-02-11 15:25:23 -07:00
Mike Place
06a8ae4fc4
Merge pull request #10369 from rallytime/dig_test
...
all methods in dig.py are tested
2014-02-11 15:11:55 -07:00
rallytime
c2f8f2bfa0
all methods in dig.py are tested
2014-02-11 15:07:42 -07:00
Mike Place
012e4ed900
Merge pull request #10366 from rallytime/dig_test
...
More dig tests
2014-02-11 14:33:17 -07:00
rallytime
446cf9b6d4
code cleanup
2014-02-11 14:30:07 -07:00
rallytime
f14469bb77
small lint fix
2014-02-11 14:24:10 -07:00
rallytime
555049dd37
More dig tests
2014-02-11 14:19:16 -07:00
Xavier Barbosa
cbe04b8231
add sequence filter for jinja
2014-02-11 20:42:40 +01:00
Mike Place
c869ce6319
Merge pull request #10357 from rallytime/dig_test
...
Wrote more Dig tests
2014-02-11 12:10:23 -07:00
Nicole Thomas
9c0016a68f
More tests on dig.py and found a bug in check_ip function (ipv6 regex)
2014-02-11 11:59:18 -07:00
Erik Johnson
98bcd26139
Fix pkg test with dots in filename
...
The package here is much smaller and should install quicker than the old
one.
2014-02-11 11:22:34 -06:00
Thomas S Hatch
8ce74e0378
disable dot test, need to find another package
2014-02-11 09:41:10 -07:00
Nicole Thomas
d02ba6e3aa
Spelling and typos.
2014-02-11 09:15:57 -07:00
Michal Bicz
6ad4415ac1
blockdev state, module and test
2014-02-11 00:11:29 -08:00
Mike Place
c99449c0f6
Remove whitespace
2014-02-10 15:43:57 -07:00
Mike Place
6259f55a4c
Dig tests
2014-02-10 15:38:14 -07:00
Thomas S Hatch
17edf0b1a7
Merge pull request #10288 from s0undt3ch/hotfix/lint
...
Lint Fixes
2014-02-10 12:22:09 -07:00
Thomas S Hatch
3b045d7719
Merge pull request #10319 from plastikos/issue-10318
...
Do not fail if the system does not support IPv6
2014-02-10 12:10:20 -07:00
Thayne Harbaugh
08ed0f0e1e
Do not fail if the system does not support IPv6
...
Fixes : #10318
2014-02-10 11:01:34 -07:00
Pedro Algarvio
362e162496
Remove un-necessary code
2014-02-10 15:10:19 +00:00
Pedro Algarvio
ec5614bd08
Remove the vim jedi output from the code
2014-02-10 13:28:28 +00:00
Pedro Algarvio
74dae3b842
And, as a last resort, kill the process after failing to terminate them.
2014-02-10 13:11:09 +00:00
Pedro Algarvio
8561be1fee
For output consistency.
2014-02-09 00:21:18 +00:00
Pedro Algarvio
cfff985043
Remove unused imports
2014-02-08 08:09:48 +00:00
Pedro Algarvio
2d5aafa12b
Remove unused imports
2014-02-08 08:09:13 +00:00
Pedro Algarvio
24fdc6f688
Ignore unused imports
2014-02-08 08:08:49 +00: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
Pedro Algarvio
8c8effc452
Ignore unused imports
2014-02-08 08:05:42 +00:00
Pedro Algarvio
bd3b8d9fa1
Remove unused imports
2014-02-08 08:05:15 +00:00
Pedro Algarvio
8d45812f34
Remove unused imports
2014-02-08 08:04:19 +00:00
Pedro Algarvio
e20715c2ac
Ignore unused imports
2014-02-08 08:03:23 +00:00
Pedro Algarvio
c00dafd7fb
Remove unused imports
2014-02-08 08:02:29 +00:00
Pedro Algarvio
ec75329a88
Ignore and remove unused imports
2014-02-08 08:01:12 +00:00
Pedro Algarvio
cbe4c360b0
Remove unused imports
2014-02-08 07:59:57 +00:00
Pedro Algarvio
b2ff725c82
Remove unused imports
2014-02-08 07:59:03 +00:00
Pedro Algarvio
db41d3b5c5
Ignore unused imports
2014-02-08 07:57:43 +00:00
Pedro Algarvio
e5b293e767
Remove unused imports
2014-02-08 07:57:10 +00:00
Pedro Algarvio
375de4e706
Remove unused imports
2014-02-08 07:56:40 +00:00
Pedro Algarvio
7c51c8ff7f
Remove unused imports
2014-02-08 07:55:55 +00:00
Pedro Algarvio
2a31e4e38b
Remove unused imports & Skip if no mock available
2014-02-08 07:54:31 +00:00
Pedro Algarvio
6144ac22f7
Remove unused imports & Skip if no mock available
2014-02-08 07:51:28 +00:00
Pedro Algarvio
d67488775e
Remove unused imports & Skip if no mock available
2014-02-08 07:50:12 +00:00
Pedro Algarvio
7acf994c46
Remove unused imports
2014-02-08 07:47:17 +00:00
Pedro Algarvio
3fceb028eb
Ignore and remove unused imports
2014-02-08 07:46:50 +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
fd306ea0b0
We need a bigger timeout, salt's repo is pretty big now.
2014-02-08 03:07:30 +00:00
Pedro Algarvio
bb9e431491
No need for the line breaks
2014-02-08 00:33:26 +00:00
Pedro Algarvio
c8010bbf4f
We don't narrow check's to state calls no more.
2014-02-07 18:01:09 +00:00
Pedro Algarvio
420fe3cc50
Let's try without passing the --out
option.
2014-02-07 18:00:40 +00:00
Pedro Algarvio
499a508a0f
Use the correct .format()
index.
2014-02-07 10:25:27 +00:00
Thayne Harbaugh
f9d790a389
unit.modules.virtualenv_test.VirtualenvTestCase.test_python_argument
...
work with non-standard interpreter locations
Fixes #10251
2014-02-06 17:01:40 -07:00
Seth House
b336c48b8c
Pass the minionswarm user through to salt-key
...
Otherwise salt-key would fail with a user warning and not write the key
which would then cause the minionswarm to fail when referencing the key.
2014-02-06 10:59:34 -07:00
Seth House
d779354351
Moved grabbing/overriding the minionswarm user to parse-time
...
This change provides a single source of truth for what user the swam
will be running as.
2014-02-06 10:59:34 -07:00
Daniel Bradshaw
95e32ec52b
Support for coercing dicts to lists.
...
Specify fields to be hit with dict.values()
2014-02-06 05:14:52 +00:00
Kaithar
41714c3adb
Test cases
2014-02-06 05:14:52 +00:00
Pedro Algarvio
5bd6108582
Merge pull request #10217 from s0undt3ch/issues/10198-missed-saltenv
...
Provide tests cases for #10197 and #10198
2014-02-05 23:19:19 +00:00
Pedro Algarvio
b66418e263
Provide tests cases for #10197 and #10198
2014-02-05 21:56:08 +00:00
Thayne Harbaugh
446599adc5
Correctly grain for test "os" => "os_family": issue-10215
2014-02-05 14:38:45 -07:00
Pedro Algarvio
c304660f88
Fix typo
2014-02-05 02:32:04 +00:00
Thomas S Hatch
a85838b4ff
Merge pull request #10188 from nshalman/smartos-cron-fix
...
Fix cron state to work on SmartOS
2014-02-04 16:16:09 -08:00
Thomas S Hatch
39acd91a73
Merge pull request #10182 from s0undt3ch/hotfix/kill-stalled-state-jobs
...
Show and kill stalled states jobs when running the tests.
2014-02-04 16:09:04 -08:00
Pedro Algarvio
74376c40ef
Include what happened in the returned list.
2014-02-04 22:49:13 +00:00
Pedro Algarvio
6045f0901f
Try to match some more stalled functions.
2014-02-04 22:36:39 +00:00
Nahum Shalman
b1e81a5ebb
Fix cron state to work on SmartOS
...
SmartOS and Solaris are both in the Solaris os_family
If we use that grain, the module should work on SmartOS
2014-02-04 17:00:18 -05:00
Pedro Algarvio
6248850055
Show and kill stalled states jobs when running the tests.
2014-02-04 21:07:13 +00:00
John Anderson
e1fa6955ff
Tighten up regex a bit
2014-02-04 11:34:18 -07:00
Mike Place
8a0167e72b
Loosen regex to allow for quoting quirk on Ubuntu 10.x
2014-02-04 18:00:48 +00:00
Joseph Hall
6b39fbec81
Merge pull request #10137 from s0undt3ch/hotfix/rabbitmq-virtual-fixes
...
rabbitmq module and test fixes/simplifications
2014-02-03 04:33:08 -08:00
Pedro Algarvio
69d0f907f9
Make use of the print()
function.
2014-02-03 11:07:43 +00:00
Pedro Algarvio
378a9d5b21
Simplify test requirements.
2014-02-03 10:55:44 +00:00
Pedro Algarvio
f417bb5b5a
Minor cosmetic change for consistency.
2014-02-03 10:31:13 +00:00
Mathieu Le Marec - Pasquet
3a209d4c07
Bunch of safeguards for utf8 errors in buildout module
2014-02-02 04:18:32 +01:00
Erik Johnson
35c397d14b
Fix test failures
...
http://jenkins.saltstack.com/job/salt-rs-rhel5/1511/
2014-02-01 16:51:48 -06:00
Ted Strzalkowski
488dd52e2c
Added unit tests for new psutil features.
2014-02-01 13:22:44 -08:00
Thomas S Hatch
0be2ce9132
Merge pull request #10048 from hulu/auth_test_update
...
Test case where auth loader is called with no auth type specified
2014-01-31 09:41:43 -08: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
Thomas S Hatch
c837aedd00
Merge pull request #10004 from rgbkrk/patch-2
...
Use __opts__.get
2014-01-31 09:37:04 -08:00
Thomas S Hatch
ae05a266ca
Merge pull request #9973 from penta-srl/archive-unzip-add-update-option
...
unzip: added options parameters
2014-01-31 09:26:27 -08:00
Pedro Algarvio
daf94a58b7
Remove trailing white-space.
2014-01-29 22:48:48 -07:00
David Lindquist
a3ceed03c8
Formatting change
2014-01-29 20:19:43 -08:00
David Lindquist
c3c04afdaf
Test a case where the loader auth doesn't have the auth type
2014-01-29 20:19:43 -08:00
David Lindquist
46a0f5b637
Add __main__ to test
2014-01-29 20:19:42 -08:00
Thomas S Hatch
6d5babfa5c
whitespace
2014-01-29 20:30:26 -07:00
Thomas S Hatch
a1561ec7e3
Merge pull request #10037 from ipmb/features/nginx_status
...
Adds Nginx status module
2014-01-29 19:29:08 -08:00
Thomas S Hatch
2253feeb41
Merge pull request #10038 from ipmb/features/uwsgi_stats
...
Adds uWSGI stats module
2014-01-29 19:28:56 -08:00
Thomas S Hatch
13e0d53493
Merge pull request #10029 from kaithar/feature/fix-special-bit-perm-test
...
Better handling for special bit modes
2014-01-29 19:20:31 -08:00
Peter Baumgartner
1bdfb0f6a5
Linting
2014-01-29 15:07:45 -07:00
Peter Baumgartner
1fb99d9985
Linting
2014-01-29 15:06:08 -07:00
Peter Baumgartner
e04f6c7b9b
Fixes tests
2014-01-29 15:03:17 -07:00
Peter Baumgartner
ae993bd013
Fixes tests
2014-01-29 15:02:50 -07:00
Peter Baumgartner
f04a7d5056
Cleanup
2014-01-29 14:45:06 -07:00
Peter Baumgartner
d7fa363673
Adds uWSGI stats module
2014-01-29 14:40:23 -07:00
Peter Baumgartner
1ac2f67350
Use Salt conventions
2014-01-29 14:23:58 -07:00
Peter Baumgartner
4c515558cf
Adds Nginx status module
2014-01-29 14:17:43 -07:00
Daniel Bradshaw
749e4871db
Fixing some missing PEP8ness
2014-01-29 19:48:57 +00:00
Daniel Bradshaw
869f980b45
Restore MagicMock as it shouldn't cause any issues.
2014-01-29 18:46:44 +00:00
Daniel Bradshaw
bc967fa3fb
Expand tests for manage_mode
2014-01-29 18:46:44 +00:00
Daniel Bradshaw
a5fee18ac8
Handle directories in the config directory when we try to clone config
2014-01-29 18:02:36 +00:00
Daniel Bradshaw
0a7546b1b1
Correct import
2014-01-29 18:01:35 +00:00
Thomas S Hatch
ae16ed9c58
Merge pull request #10019 from galet/file-extract-hash-tests
...
Added test for salt.modules.file.extract_hash() to verify support for simple Maven checksum file format
2014-01-29 07:50:15 -08:00
Thomas S Hatch
94a6b01522
Merge pull request #10011 from makinacorpus/fix10010
...
display full jinja traceback when applicable
2014-01-29 07:41:29 -08:00
Michal Galet
7394c2fd2a
Added test for salt.modules.file.extract_hash() to verify support for simple Maven checksum file format.
2014-01-29 11:57:47 +00:00
Mathieu Le Marec - Pasquet
a6b3bf4167
Lint fix
2014-01-29 02:43:19 +01:00
Mathieu Le Marec - Pasquet
688abda402
display full jinja traceback when applicable
...
This fixes #10010
2014-01-29 02:04:12 +01:00
Kyle Kelley
3d144e9e7a
Use __opts__.get
2014-01-28 14:27:29 -07:00
Mathieu Le Marec - Pasquet
165b5e4af2
Handle better state errors
...
This fixes #9983 .
2014-01-28 16:01:34 +01:00
Nicola Marangon
06f77852cb
new tests for unzip with options parameters
2014-01-28 09:41:45 +01:00
Alexey Ivanov
d23ff3821e
codespell: grammar nazi
...
Run codespell[1] against sources.
[1] https://github.com/lucasdemarchi/codespell
2014-01-26 18:41:28 -08:00
Seth de l'Isle
30e9864d66
Removed the mock for config.manage_mode which doesn't seem to be necessary
...
for any tests to pass but was causing most of the failures for my previous
commit.
Coerced several values to string representations of octal where before they
were sometimes strings and sometimes ints.
2014-01-25 10:51:50 -05:00
Mathieu Le Marec - Pasquet
276e92c4ea
postgres: fix password encryption handling
2014-01-24 14:01:14 +01:00
Mathieu Le Marec - Pasquet
3fa92b49fb
postgres: Pylint
...
This fixes #9920
2014-01-24 14:01:13 +01:00
Thomas S Hatch
99caa290fc
Merge pull request #9897 from arthurlogilab/develop
...
add user options to salt-key and to tests/minionswarm.py so one can run ...
2014-01-23 09:14:44 -08:00
Thomas S Hatch
6b09f5b8fd
Merge pull request #9831 from makinacorpus/pgsql
...
[need review] PGSQL state/mod improvments
2014-01-23 09:07:59 -08:00
Arthur Lutz
0cad68c59d
add user options to salt-key and to tests/minionswarm.py so one can run in userland
2014-01-23 12:44:14 +01:00
Mathieu Le Marec - Pasquet
b8885f8faf
buildout: protect against unicodeerrors
2014-01-23 01:11:19 +01:00
Pedro Algarvio
0c9bf6e5fc
Merge pull request #9813 from kaithar/feature/fix-impossible-permissions-test
...
config.manage_mode(): Changing zfill(3) to zfill(4) so that we get '0700' instead of '700'
2014-01-22 09:12:15 -08:00
Mathieu Le Marec - Pasquet
7039b4c974
postgres: support for extensions
2014-01-21 19:25:35 +01:00
Mathieu Le Marec - Pasquet
47c20d2371
postgres: Group and user managment refactoring:
...
- stick to postgresql create/alter role
- handle and detect correctly all roles updates
- again a whole set of factorization
2014-01-21 19:25:35 +01:00
Pedro Algarvio
74ef6ab26a
Fix the syndic test
2014-01-20 15:50:51 +00:00
Pedro Algarvio
1c399660a9
Provide a path which should fail.
2014-01-20 13:12:57 +00:00
Pedro Algarvio
8a84079848
Test expected outout and raise expected errors if syslog is not available.
2014-01-20 11:24:54 +00:00
Pedro Algarvio
b8d45673d5
Adapt to expected output
2014-01-20 11:09:56 +00:00
Pedro Algarvio
a8a8f38ea4
Fix unit test expected results since we now exit with an error code.
2014-01-19 16:16:49 +00:00
Pedro Algarvio
a9429d8b18
Fix unit test expected results since we now exit with an error code.
2014-01-19 16:16:49 +00:00
Pedro Algarvio
26a8572b7e
Fix unit test expected results since we now exit with an error code.
2014-01-19 16:16:49 +00:00
Pedro Algarvio
c6de2adb31
Fix unit test expected results since we now exit with an error code.
2014-01-19 16:16:49 +00:00
Pedro Algarvio
05b2636cd5
Fix unit test expected results since we now exit with an error code.
2014-01-19 16:16:49 +00:00
Pedro Algarvio
a5f2286960
Fix unit test expected results since we now exit with an error code.
2014-01-19 16:16:49 +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
Pedro Algarvio
96d324a6a4
Merge pull request #9791 from makinacorpus/fix_buildout
...
buildout stuff
2014-01-17 05:53:44 -08:00
Erik Johnson
18a4c95f46
whitelist expand_repo_def in test_valid_docs
2014-01-16 22:40:22 -06:00
Mathieu Le Marec - Pasquet
1f39bcfcb4
Fixing tests
2014-01-17 01:59:11 +01:00
Amir Pakdel
421a6200bf
Fixed pylint and unit test errors
2014-01-16 09:56:52 -05:00
Pedro Algarvio
2e9e3281cd
Merge pull request #9737 from s0undt3ch/hotfix/testing-output-columns
...
Prepare the code to support passing the colums to use in output
2014-01-16 04:09:13 -08:00
FELD Boris
43889c7d79
Add a test for git states support of numeric revision
2014-01-15 17:20:08 +01:00
regilero
e778386f41
MySQL: fix unit test module db_exists check, error is in the test.
2014-01-15 15:59:37 +01:00
Pedro Algarvio
b45900e903
Remote empty lines
2014-01-14 16:15:08 +00:00
Pedro Algarvio
59573953b5
Also prepare runtests.py
2014-01-14 15:25:07 +00:00
Pedro Algarvio
ff75e49c86
Prepare the code to support passing the colums to use in output
2014-01-14 15:16:30 +00:00
Pedro Algarvio
4221499b59
Some systems do not have the python
binary
2014-01-14 14:10:33 +00:00
Pedro Algarvio
61e217f894
Skip if the tar
binary is not found.
2014-01-14 12:36:36 +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
44bdfee0a3
Merge pull request #9700 from s0undt3ch/hotfix/no-hardcoded-virtualenv-bin
...
no hardcoded virtualenv bin
2014-01-11 14:46:52 -08:00
Pedro Algarvio
2bb11d24b9
Skip the tests if binaries are missing.
2014-01-11 14:38:17 -07:00
Pedro Algarvio
8268b7b532
Ignore it PyLint!!!
2014-01-11 21:35:18 +00:00
Pedro Algarvio
5642db5032
Simplify the code
2014-01-11 21:20:42 +00:00
Pedro Algarvio
a5a791695c
Import from the right module.
2014-01-11 21:12:03 +00:00
Pedro Algarvio
bdec26f812
Tell Pylint to ignore these imports.
2014-01-11 21:01:58 +00:00
Pedro Algarvio
ba4bf1b05d
Add helper function while there's no new release of salt-testing.
2014-01-11 20:51:32 +00:00
Pedro Algarvio
b1ddb350b6
Some more white-space lint fixes
2014-01-11 13:48:12 -07:00
Pedro Algarvio
f8f31af3d2
Hardcode mocked unit test virtualenv binary
2014-01-11 12:58:46 -07:00
Pedro Algarvio
c8038d87b1
Use KNOWN_BINARY_NAMES
from salt.modules.virtualenv
2014-01-11 12:19:29 -07:00
Pedro Algarvio
3a1cdd13fc
Add salt's git repo as upstream and fetch tags if using a custom git url
2014-01-11 16:30:23 +00:00
Pedro Algarvio
f687663690
Fix the comma placement
2014-01-10 22:53:44 +00:00
Pedro Algarvio
07667df90f
The git url pillar value needs to be quoted
2014-01-10 22:47:52 +00:00
Pedro Algarvio
f5e4b9f52b
When running "single-shot", it needs the params right away.
2014-01-10 21:31:36 +00:00
Pedro Algarvio
fab35cd00f
Remove un-necessary pass
2014-01-10 19:39:37 +00:00
Pedro Algarvio
b0a73d8b8e
We're using args not kwargs
2014-01-10 19:24:23 +00:00
Pedro Algarvio
ba62367e90
Fix attribute name
2014-01-10 18:32:05 +00:00
Pedro Algarvio
583de5a2dd
The env generated from PR's should be a separate step.
2014-01-10 18:29:01 +00:00
Pedro Algarvio
8f1df67857
Let's not require these for now.
2014-01-10 18:15:47 +00:00
Pedro Algarvio
bd2c7413f7
Not strictly necessary now(at least on the 1st stage)
2014-01-10 18:02:09 +00:00
Pedro Algarvio
932a2ba8ab
Split the env genertion into parts
2014-01-10 17:28:07 +00:00
Pedro Algarvio
eaf3a50725
Get more info about a PR.
...
Since the Jenkins PR plugin does now set it in the environ.
2014-01-10 17:24:55 +00:00
Thomas S Hatch
b90b4a0db8
Set tests to refresh fs list cace with every check
2014-01-09 15:10:42 -07:00
Pedro Algarvio
b3a029dd8a
Handle the xml unittest reports as a single, "chained" command.
2014-01-05 00:15:12 +00:00
Pedro Algarvio
d2bcd53e37
Don't ignore the workspace path option
2014-01-05 00:10:24 +00:00
Mathieu Le Marec - Pasquet
d96a5c8c6c
configurable salt-bootstrap url
2014-01-03 19:13:06 +01:00
Mathieu Le Marec - Pasquet
9a9eada12f
Better trace for nested jinja errors
2014-01-03 18:16:11 +01:00
Pedro Algarvio
68f26f1176
Don't expect salt to be installed to run the tests.
...
Use the testing configuration files.
2014-01-03 01:04:43 +00:00
Pedro Algarvio
e55fa8e82f
Merge pull request #9542 from cachedout/unit-tests
...
Unit tests
2014-01-02 16:43:53 -08:00
Pedro Algarvio
baa3a4b8cf
Remove hardcoded version, we're regex matching.
2014-01-03 00:40:45 +00:00
Mike Place
cb2abcb796
Pylint fixes.
2014-01-02 16:28:19 -07:00
Mike Place
2e20bf99a3
Client testing
...
* Minor spelling and doc fixes to client module
* Unit testing client module.
2014-01-02 16:23:16 -07:00
Mathieu Le Marec - Pasquet
0e430e531d
configurable salt git url for jenkins
2014-01-02 22:46:12 +01:00
Pedro Algarvio
2cab3227fd
The virtualenv binary can have multiple CLI names.
2014-01-02 20:27:18 +00:00
Thomas S Hatch
f31d6eb6ad
Merge pull request #9513 from s0undt3ch/hotfix/missing-timelib-tests
...
Fix unit tests skipping mostly
2013-12-31 12:54:22 -08:00
Thomas S Hatch
30c49e32c7
Revert "Better trace for nested jinja errors"
...
This reverts commit 78899493bb
.
2013-12-31 12:22:24 -07:00
Thomas S Hatch
697bffcf1d
Revert "division test fix"
...
This reverts commit 56bcfbb03c
.
2013-12-31 12:22:13 -07:00
Thomas S Hatch
ffd5aee1fb
Merge pull request #9509 from makinacorpus/bettertrace2
...
Better trace for nested jinja errors v2
2013-12-31 08:54:24 -08:00
Pedro Algarvio
e8de5e7077
Don't hardcode the virtualenv binary name
2013-12-31 14:49:22 +00:00
Mathieu Le Marec - Pasquet
56bcfbb03c
division test fix
2013-12-31 14:34:29 +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
Pedro Algarvio
b03c779718
Don't assume mock
and timelib
are instaled.
2013-12-31 13:53:37 +00:00
Mathieu Le Marec - Pasquet
78899493bb
Better trace for nested jinja errors
2013-12-31 13:25:57 +00:00
Pedro Algarvio
7e62178d5a
Add test case to conform parser errors on wrong arguments
2013-12-31 09:32:04 +00:00
Thomas S Hatch
6961cd8909
Merge pull request #9501 from cachedout/unit-tests
...
Fix psutil on Arch.
2013-12-30 21:01:29 -08:00
Mike Place
b6aa95d2ab
Fix psutil on Arch.
2013-12-30 16:41:45 -07:00
Thomas S Hatch
052ac0497d
Merge pull request #9498 from cachedout/unit-tests
...
Fix RHEL5 zmq unit tests
2013-12-30 13:39:02 -08:00
Mike Place
17dea90f63
Fix RHEL5 zmq unit tests
...
* Import zmq, check its attr and skip test if necessary.
2013-12-30 14:37:17 -07:00
Thomas S Hatch
2d91584ee8
Merge pull request #9496 from cachedout/unit-tests
...
Another swing at fixing Postgres tests.
2013-12-30 13:03:07 -08:00
Mike Place
b8e1ddf4bf
Another swing at fixing Postgres tests.
2013-12-30 13:28:51 -07:00
Thomas S Hatch
5eaca79810
Revert "Better trace for nested jinja errors"
...
This reverts commit 99a2791917
.
2013-12-30 11:32:53 -07:00
Thomas S Hatch
1de92c473e
Merge pull request #9492 from cachedout/unit-tests
...
Increase timeout for pkg tests.
2013-12-30 10:11:44 -08:00
Mike Place
ca57a864b8
Increase timeout for pkg tests.
...
* Since we started running a refresh_db in pkgrepo (7c3d0cc80d
), we may be checking an exit code prematurely. This increases the timeouts to 120 seconds to see if Jenkins will calm itself.
2013-12-30 11:08:32 -07:00
Thomas S Hatch
1b562cb785
Merge pull request #9409 from makinacorpus/test-trace
...
Better trace for nested jinja errors
2013-12-30 09:57:50 -08:00
Thomas S Hatch
4326a14322
Merge pull request #9480 from cachedout/unit-tests
...
Unit tests
2013-12-28 21:11:02 -08:00
Mike Place
94591d7e2d
Fix unit tests for Postgres on some platforms
...
* Fix for inconsistent behavior wherein systems will use varying escaping behavior for quotes and double-quotes. (Most notably, Ubuntu 10 for some oddball reason.
* Reformatting.
2013-12-28 17:16:54 -07:00
Pedro Algarvio
cc9310b1f0
Merge pull request #9465 from cachedout/unit-tests
...
Integration test fix
2013-12-27 12:31:56 -08:00
Mike Place
4b7148a0f5
Don't test deprecated function.
...
* utils.memoize has been moved to salt.utils.decorators. Don't test it here.
2013-12-27 13:28:42 -07:00
Mike Place
444cae7236
Integration test fix
...
* oscodename should not have been removed.
2013-12-27 13:25:05 -07:00
Pedro Algarvio
4607d38cd4
We're mock'ing, it's ok to ignore the PyLint warning.
2013-12-27 17:56:31 +00:00
Thomas S Hatch
8e3e4ae744
Merge pull request #9457 from cachedout/unit-tests
...
Test framework updates
2013-12-27 09:01:30 -08:00
Mike Place
3510f85c2e
Merge branch 'unit-tests' of https://github.com/cachedout/salt into unit-tests
...
* 'unit-tests' of https://github.com/cachedout/salt :
Auth system unit testing framework.
Optimize imports.
Minor spelling change.
2013-12-27 09:41:52 -07:00
Mike Place
9a8b9ab49d
Fix Ubuntu integration tests.
...
Ubuntu changed the name of the software-properties package, breaking tests. Details here: https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/439566
2013-12-27 09:40:07 -07:00
Pedro Algarvio
0fb5be304c
Add required ending new-line
2013-12-26 18:51:30 +00:00
Mike Place
f2f7e9f537
Handle invalid master address in minion config
...
Gracefully exit the minion while informing the user of the cause of the error if the IP address of the master is malformed such that it can not even be dealt with by Python's socket module.
Unit testing for the above condition.
Closes #9440 .
Remove suprious debugging statement.
Remove more spurious debugging.
2013-12-26 09:48:01 -07:00
Mathieu Le Marec - Pasquet
99a2791917
Better trace for nested jinja errors
2013-12-25 18:00:15 +00:00
Mike Place
e4caf0a470
Auth system unit testing framework.
...
* Setup testing classes and imports
* Test load_name()
2013-12-23 22:13:02 -07:00
Mike Place
72b565af2c
Optimize imports.
2013-12-23 20:55:43 -07:00
Mike Place
f8b772f970
More aggressive IPC fix.
2013-12-23 19:36:57 -07:00
Mike Place
8efa385291
More unit tests. Many, many more.
2013-12-23 17:16:05 -07:00
Mike Place
ae4fdc1066
Raise IPC check even higher to resolve failing tests in Jenkins.
2013-12-23 17:11:24 -07:00
Mike Place
d15bd31b9c
Unit testing and utils refinements
...
* More unit tests against utils module
* Minor modifications to utils module for formatting.
* Remove case which could not be reached inside utils module.
2013-12-23 17:10:29 -07:00
Mike Place
83b08df07d
Clarify len of line.
2013-12-23 17:06:22 -07:00
Thomas S Hatch
fb0ca047d1
Fix lint errors in tests
2013-12-23 09:25:16 -07:00
Mike Place
fab5535240
test is_true
2013-12-22 19:23:45 -07:00
Mike Place
647f954c7c
More detailed testing against the state verifier utility.
2013-12-22 19:15:59 -07:00
Mike Place
451cd8d7ea
Default var and typo.
2013-12-22 16:40:09 -07:00
Mike Place
0ef7c56e11
Doh. Typo.
2013-12-22 16:37:07 -07:00
Mike Place
dc5874fb1c
Don't run event tests on systems that can't support them.
2013-12-22 16:33:07 -07:00
Mathieu Le Marec - Pasquet
1365688bf7
Again, more robustness for zcbuildout tests
2013-12-22 18:52:54 +00:00
Thomas S Hatch
11ee832086
Line fixes
2013-12-20 17:23:35 -07:00
Mike Place
06810a1597
Update unit test to match PG fix.
2013-12-20 17:24:56 -07:00
Thomas S Hatch
706665ff0d
Merge pull request #9382 from cachedout/docker-unit-tests
...
Unit testing
2013-12-20 16:17:58 -08:00
Mike Place
b77fce5816
Many more unit tests for salt.utils
...
Small doc change.
2013-12-20 17:12:49 -07:00
Thomas S Hatch
99cc12ddc5
This test is passing in standalone environments but not in Jenkins
...
I am stubbing it out and we will need to come back to it
2013-12-20 13:56:26 -07:00
Thomas S Hatch
b63c0449ac
Stub out bad test
2013-12-20 13:55:37 -07:00
Thomas S Hatch
d713cb919c
Fix missed import
2013-12-20 13:52:45 -07:00
Mike Place
05b78e30bc
More utils testing.
2013-12-20 13:47:01 -07:00
Pedro Algarvio
edcf47ccc2
White-space related lint fixes.
2013-12-20 20:02:05 +00:00
Thomas S Hatch
b3ddce56dc
Merge pull request #9365 from whiteinge/test-eauth-token
...
Add integrations tests for master_call eauth & token for RunnerClient and WheelClient
2013-12-20 08:46:29 -08:00
Mike Place
4176354820
Pylint fixes for regex errors.
2013-12-20 09:42:15 -07:00
Mike Place
40ecf088f2
Work on salt.utils unit testing.
2013-12-20 08:34:33 -07:00