Mathieu Le Marec - Pasquet
3fa92b49fb
postgres: Pylint
...
This fixes #9920
2014-01-24 14:01:13 +01: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
Mathieu Le Marec - Pasquet
b8885f8faf
buildout: protect against unicodeerrors
2014-01-23 01:11:19 +01: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
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
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
61e217f894
Skip if the tar
binary is not found.
2014-01-14 12:36:36 +00:00
Pedro Algarvio
f8f31af3d2
Hardcode mocked unit test virtualenv binary
2014-01-11 12:58:46 -07:00
Pedro Algarvio
e8de5e7077
Don't hardcode the virtualenv binary name
2013-12-31 14:49:22 +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
Mike Place
b6aa95d2ab
Fix psutil on Arch.
2013-12-30 16:41:45 -07:00
Mike Place
b8e1ddf4bf
Another swing at fixing Postgres tests.
2013-12-30 13:28:51 -07: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
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
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
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
Thomas S Hatch
26ec36144d
Add support for testign against python 2.6
2013-12-13 15:09:52 -07:00
Thomas S Hatch
39e849c314
pylint fixes
2013-12-12 20:51:28 -07:00
regilero
7ee42dc922
Fix the MySQL user_exists unit test mysterious broken status -- was mocked by other tests
2013-12-11 14:19:29 +01:00
regilero
0d797ced4f
Fix MySQL module broken unit tests
2013-12-11 14:18:33 +01:00
regilero
3b14cd7cb4
Merge remote-tracking branch 'upstream/develop' into mysql_additions
2013-12-11 00:56:56 +01:00
Erik Johnson
fca4c80e5b
Add unit test for #9097
2013-12-07 20:54:07 -06:00
Mathieu Le Marec - Pasquet
303f5a782c
small space error
2013-12-06 20:37:51 +00:00
Mathieu Le Marec - Pasquet
50b6ba65f8
fix last zcbuildout pylint errors
2013-12-06 20:32:33 +00:00
Pedro Algarvio
fe76fb8df0
Higher timeout.
2013-12-06 19:16:41 +00:00
Pedro Algarvio
8f8e3edd0f
Lower the url request timeout and log it.
2013-12-06 19:09:38 +00:00
Pedro Algarvio
bff4c99149
Attribute name changed.
2013-12-06 18:13:22 +00:00
Thomas S Hatch
0dc996d573
whitespace
2013-12-06 10:50:58 -07:00
regilero
73f6fc347a
MySQL unit tests, fix mock calls to match the new ones
2013-12-04 22:31:08 +01:00
Pedro Algarvio
4a5c10f296
Merge pull request #9007 from cachedout/postgres-unit-tests
...
First-pass unit test coverage for the Postgres execution module.
2013-12-04 02:47:41 -08:00
Mike Place
6d4a422c20
First-pass unit test coverage for the Postgres execution module.
2013-12-03 19:00:26 -07:00
Mathieu Le Marec - Pasquet
50cdd562ad
make buildout test more robust
2013-12-04 01:51:23 +00:00