Pedro Algarvio
baa3a4b8cf
Remove hardcoded version, we're regex matching.
2014-01-03 00:40:45 +00:00
Pedro Algarvio
b03c779718
Don't assume mock
and timelib
are instaled.
2013-12-31 13:53:37 +00: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
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
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
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
b63c0449ac
Stub out bad test
2013-12-20 13:55:37 -07:00
Mike Place
05b78e30bc
More utils testing.
2013-12-20 13:47:01 -07: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
Mike Place
3bb714282e
Starting on unit tests for docker and salt.utils.
2013-12-19 09:14:59 -07:00
Pedro Algarvio
4bbd0c512d
Too much white-space added.
2013-12-14 17:42:51 +00:00
Pedro Algarvio
82973662e9
Disable the VT test, the code ain't mature enough.
2013-12-14 17:37:06 +00:00
Pedro Algarvio
d8453a4b91
Make sure we can actually get the size of the terminal before trying.
2013-12-12 09:53:36 +00:00
Pedro Algarvio
b15b3237e9
Update self.args
even if shell
is not True
2013-12-11 14:23:11 +00:00
Pedro Algarvio
1341573532
Fix the SSH password regular expression.
2013-12-10 11:08:52 +00:00
Pedro Algarvio
e45cbf1dca
Add unit test for the ssh password regex matching
2013-12-10 10:46:25 +00:00
Thomas S Hatch
41df5b16f3
pylint
2013-12-06 10:50:24 -07:00
Ollie Walsh
68e0e3a106
Add unit test for event timeouts
2013-12-03 22:44:52 +00:00
Pedro Algarvio
877bdb2a90
Lint white-space fixes.
2013-12-03 20:30:16 +00:00
Ollie Walsh
8bacb953c0
Fix typo
2013-12-03 01:45:18 +00:00
Ollie Walsh
d81aeb2c0e
More tests
2013-12-03 01:22:51 +00:00
Ollie Walsh
f9aca16aee
More unit tests and longer timeouts for travis-ci
2013-12-02 23:20:54 +00:00
Ollie Walsh
6fe85f1294
Add some basic unit tests for events
2013-12-02 22:26:13 +00:00
Pedro Algarvio
0ae1a15c61
PEP8 E302 and E303 blank lines fixes.
2013-11-27 12:11:45 +00:00
Pedro Algarvio
14b59ac073
Include the coding header.
2013-11-27 12:04:43 +00:00
Pedro Algarvio
08c5c8e83a
Fix PyLint W1401, anomalous backslash.
2013-11-27 11:24:26 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Pedro Algarvio
b5c9815e9a
Arguments like pip==1.0
must not match yaml'ification as as keyword arguments.
2013-11-09 10:32:27 +00:00
Mike Place
00c7d36966
Exception handling for missing id
...
Refs #8259 . We don't like tracebacks. Includes unit test.
2013-11-07 11:59:07 -07:00
Pedro Algarvio
798e1830d5
Provide a default PATHEXT
environment variable.
...
Added test case which relies on the `PATHEXT` environment variable.
2013-10-28 16:05:19 +00:00
Pedro Algarvio
c8c6dab678
Add some comments to explain whats going on.
2013-10-27 16:53:39 +00:00
Pedro Algarvio
79391f107b
Provide a mocked version the tests to reach windows specific code.
2013-10-27 16:53:39 +00:00
Erik Johnson
a9d1c12481
Add unit test for salt.utils.which
...
This is a Linux-only test, it will need some mock love to make it
suitable to test for windows paths.
2013-10-27 16:53:39 +00:00
Pedro Algarvio
f0b78cd916
Format version
on deprecation messages.
...
Add a test case to check if a deprecation message get it's `version` format holder properly populated.
2013-10-04 09:53:51 +01:00
Pedro Algarvio
a9ceedb5eb
warn_until
and kwargs_warn_until
are now aware of named versions.
...
Updated the warnings tests cases accordingly.
2013-10-04 09:53:50 +01:00
Pedro Algarvio
8c9fe2c5c1
Fix the kwargs_warn_until
unit test case.
2013-10-04 09:53:50 +01:00
Pedro Algarvio
f028a004ad
Fix the warnings unit test.
...
Since the `warn_until` function now parses and instantiates a `SaltStackVersion`, the `bugfix` part of the version info is always shown.
2013-10-04 09:53:50 +01:00