Commit Graph

527 Commits

Author SHA1 Message Date
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
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
8034d126e2 Merge pull request #9335 from cachedout/ps-unit-tests
Correct failure when psutil is not installed. Also some minor reformatting.
2013-12-18 08:36:38 -08:00
Mike Place
bd2ec30682 Correct failure when psutil is not installed.
Reformatting.
2013-12-18 09:25:04 -07:00
Pedro Algarvio
c1107f22fe Merge pull request #9330 from cachedout/ps-unit-tests
Unit testing cron exec module.
2013-12-17 16:25:51 -08:00
Mike Place
d8facc96a4 Unit testing cron exec module. 2013-12-17 15:59:57 -07:00
Colton Myers
5b4d47fb10 Merge pull request #9320 from cachedout/ps-unit-tests
More ps exec module unit tests.
2013-12-17 14:11:29 -08:00
Mike Place
d7b7ad3b9f More ps exec module unit tests. 2013-12-17 11:23:49 -07:00
Mathieu Le Marec - Pasquet
bb7f5247d3 according buildout tests 2013-12-17 04:36:36 +01:00
Mike Place
20ab5b2d23 Lint. 2013-12-16 17:09:49 -07:00
Mike Place
26aa30393e Unit testing of ps exec module.
Seemed like this would be sort of mundane but there are actually a few dragons here.
Unit testing turned up the fact that we make use of methods in psutil that are deprecated!
2013-12-16 17:05:53 -07:00
Pedro Algarvio
fe7ab946d5 Make it run --docked. 2013-12-14 19:00:01 +00:00
Pedro Algarvio
c65d6ea523 Use salt.utils.fopen 2013-12-14 18:35:13 +00:00
Pedro Algarvio
8f8f8bfc4a Formatting and requirements fixes. 2013-12-14 18:31:40 +00: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
3f5b5cac4f The overstate tests should now pass. 2013-12-14 17:26:38 +00:00
Pedro Algarvio
1ce8d1f273 Overstate unit tests now use a valid testing configuration
The overstate unit tests relied on some know directories created which exist when salt is installed in the current system using the regular paths.
2013-12-14 17:16:08 +00:00
Pedro Algarvio
f29eaab3a0 Even more set's! 2013-12-14 00:52:39 +00:00
Pedro Algarvio
54c2a4e6c5 Missed some more set occurrences. 2013-12-14 00:46:51 +00:00
Pedro Algarvio
7c2e24e8bb Make it a dictionary, not a set()(py >= 2.7). 2013-12-14 00:35:07 +00:00
Thomas S Hatch
0569fd06de pytlint 2013-12-13 16:30:47 -07:00
Thomas S Hatch
f8de5141ae fix syntax error 2013-12-13 15:25:35 -07:00
Thomas S Hatch
26ec36144d Add support for testign against python 2.6 2013-12-13 15:09:52 -07:00
Thomas S Hatch
c035100a6c Merge pull request #9223 from kaithar/feature/expose-global-highstate
Expose global highstate for the benefit of pydsl
2013-12-13 13:09:21 -08:00
Thomas S Hatch
ecca2659ba Merge pull request #9222 from cachedout/overstate_test
Overstate test
2013-12-13 13:03:53 -08:00
Mike Place
7e2c897a36 Check successful prereq 2013-12-13 11:59:37 -07:00
Mike Place
82e0e2efe0 Check failed prereqs. 2013-12-13 11:50:51 -07:00
Mike Place
827514098f More tests. 2013-12-13 09:45:05 -07:00
Kaithar
b1ac292873 Made state_highstate more useful. 2013-12-13 05:47:25 +00:00
Kaithar
5836b1b040 Missing newline 2013-12-13 04:53:47 +00:00
Kaithar
866bc66bac Unit test for including a state multiple times using pydsl. 2013-12-13 05:41:38 +00:00