Commit Graph

584 Commits

Author SHA1 Message Date
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
869f980b45 Restore MagicMock as it shouldn't cause any issues. 2014-01-29 18:46:44 +00: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
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
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
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
Pedro Algarvio
e8de5e7077 Don't hardcode the virtualenv binary name 2013-12-31 14:49:22 +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
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
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
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
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