Marek Skrobacki
524113fc4f
fix pylint warnings
2014-04-26 10:21:26 +01:00
Marek Skrobacki
10ce848828
remove hard-dependency on keyring
2014-04-25 18:11:24 +01:00
Marek Skrobacki
7fbb5fcb78
add tests for keyring utils
2014-04-25 17:22:48 +01:00
Pedro Algarvio
f07e614a31
Adapt the tests to the new deprecation output.
2014-04-24 11:32:46 +01:00
Pedro Algarvio
500513375e
Use salt's master clean_proc
routine.
...
On Fedora 20, we hit an issue, at least, similar to #3618 .
While debugging it, I've found that the runtests process keeps eating
memory.
Using `clean_proc` has at least, allowed the runtests to finish without
triggering #3618 .
2014-04-18 07:52:40 +01:00
Yusuke Tsutsumi
f5b4ac2395
Adding introspection methods for yum and apt-get
...
* adding yumpkg:owner
* adding aptpkg:owner
* refactoring owner method to utils.pkg library
2014-04-14 14:05:43 -04:00
Thomas S Hatch
09769d6fa2
lint tests
2014-04-02 11:16:24 -06:00
Pedro Algarvio
7c782f6752
Adapt test case because we default to dropping unrelated events.
...
The previous default was not dropping unrelated event, however, this
could cause memory leaks, so, the current default is dropping those
events.
We now test for both behaviours.
2014-03-31 03:31:23 +01:00
Pedro Algarvio
ed12816806
Update tests to new event classes signatures.
2014-03-24 16:54:31 +00:00
Thomas S Hatch
4af873dcaf
Merge pull request #11337 from techdragon/fix-hightstate-failure-retcode
...
Fix for broken salt cmd return codes - issue #7013
2014-03-22 00:31:19 -06:00
Thomas S Hatch
43de620730
Merge pull request #11413 from s0undt3ch/hotfix/immutable-lists-sum
...
Simpler immutable types
2014-03-21 11:40:09 -06:00
Pedro Algarvio
5fa42543e3
Fix reference and allow standalone test excution.
2014-03-21 12:51:42 +00:00
Pedro Algarvio
f38b18ce7d
Fix reference.
2014-03-21 12:48:06 +00:00
Pedro Algarvio
1825dfe635
Also test slicing
2014-03-21 12:45:54 +00:00
Pedro Algarvio
49bdbefb66
No more proxied immutables. Add test for nested immutables.
2014-03-20 23:59:38 +00:00
techdragon
e2a04d2877
Fixes & Updates
...
- fixed pep8 issue
- added more logic to check_state_result logic to handle list results properly and return false.
- ordered the check_state_result unit tests more logically. All the data type tests are now before the content & logic handling checks
- discovered duplicate test in check_state_result unit tests and removed it, both tests were asserting using the same data {'host': []}
2014-03-20 15:08:34 +08:00
Pedro Algarvio
4c7d06a64a
Test ImmutableList
sum
2014-03-13 20:10:44 +00:00
Thomas S Hatch
8c6c608958
Merge branch 'serializers' of git://github.com/johnnoone/salt into johnnoone-serializers
...
Conflicts:
doc/topics/yaml/index.rst
2014-03-07 14:53:03 -07:00
Thomas Jackson
96c76f7a73
Add some unit tests for cache object
2014-03-05 18:12:20 -08:00
George Marshall
8f66db2e0f
Teach utils.option to fail so that it can succeed
2014-02-28 21:57:03 -08:00
Xavier Barbosa
a3b87d1981
a little bit of lint
2014-02-21 13:49:54 +01:00
Xavier Barbosa
9f39d4171b
added reset tag
2014-02-21 09:52:31 +01:00
Xavier Barbosa
85a5c9e617
ensure that str are yaml friendly
2014-02-20 17:50:49 +01:00
Xavier Barbosa
ad9734e78f
implement aggregation
2014-02-20 13:57:37 +01:00
Xavier Barbosa
9d32696939
implement serializers
2014-02-20 12:00:21 +01:00
Thomas S Hatch
17edf0b1a7
Merge pull request #10288 from s0undt3ch/hotfix/lint
...
Lint Fixes
2014-02-10 12:22:09 -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
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
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