Thomas S Hatch
|
444b203072
|
Pass the psudo funcs into the renderer
|
2013-12-12 21:47:42 -07:00 |
|
Thomas S Hatch
|
39e849c314
|
pylint fixes
|
2013-12-12 20:51:28 -07:00 |
|
Mike Place
|
f42a956f42
|
Pylint
|
2013-12-12 17:06:12 -07:00 |
|
Mike Place
|
93129d8758
|
Laying the groundwork for overstate unit testing.
|
2013-12-12 17:04:40 -07:00 |
|
Thomas S Hatch
|
0f2a7974ae
|
Fix syntax issue in stateconf test
|
2013-12-12 14:52:14 -07:00 |
|
regilero
|
2e48812cfa
|
Merge remote-tracking branch 'upstream/develop' into mysql_additions
|
2013-12-12 22:10:50 +01:00 |
|
Thomas S Hatch
|
0880c73c43
|
load in a fake config.get function to fix tests
Mocking may be a better way of doing this, but since these are
generated at the top of the test I felt that this solution was also viable
|
2013-12-12 11:50:53 -07: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 |
|
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 |
|
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
|
7d9adc697b
|
Merge pull request #9132 from cachedout/file-client-tests
Starting work on new set of tests for fileclient.
|
2013-12-09 19:55:02 -08:00 |
|
Mike Place
|
55ecc5d0ab
|
Starting work on new set of tests for fileclient.
Also, more integration testing for templates.
|
2013-12-09 16:47:49 -07:00 |
|
Pedro Algarvio
|
2648ed90ba
|
Fix lint issues.
|
2013-12-09 20:02:25 +00:00 |
|
Thomas S Hatch
|
8408c1a583
|
Merge pull request #9053 from regilero/utf8-sls
Proposal for utf-8 support in sls files
|
2013-12-09 10:41:15 -08: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 |
|
Thomas S Hatch
|
41df5b16f3
|
pylint
|
2013-12-06 10:50:24 -07:00 |
|
regilero
|
a59d47bc9e
|
Merge remote-tracking branch 'upstream/develop' into mysql_additions
|
2013-12-06 10:53:32 +01:00 |
|
Thomas S Hatch
|
f65887cbda
|
Merge pull request #8993 from olliewalsh/eventtest
Another unit test for events
|
2013-12-05 11:39:33 -08:00 |
|
regilero
|
7d05551062
|
Manage errors containing utf-8 or unicode charcters at the jinja level
|
2013-12-05 18:46:43 +01: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 |
|
Mathieu Le Marec - Pasquet
|
7d299f9c0f
|
pylint fixes
|
2013-12-04 00:25:56 +00:00 |
|
Mathieu Le Marec - Pasquet
|
5f46962e80
|
pep8 fixes
|
2013-12-04 00:25:50 +00: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 |
|
Pedro Algarvio
|
a7365b6322
|
No last line
|
2013-12-03 20:28:41 +00:00 |
|
Pedro Algarvio
|
205ed46577
|
Easier path building
|
2013-12-03 20:28:08 +00:00 |
|
Pedro Algarvio
|
d6d2993486
|
No un-indexed curly braces on string .format() calls
|
2013-12-03 20:24:21 +00:00 |
|
Pedro Algarvio
|
13a9effdaf
|
Add unit tests regarding include.d directories loading.
|
2013-12-03 19:08:30 +00:00 |
|
Thomas S Hatch
|
77d61d92a4
|
Merge pull request #8914 from makinacorpus/issue-8856-buildout-support
feat: buildout support
|
2013-12-03 09:56:59 -08:00 |
|
Mathieu Le Marec - Pasquet
|
3a55194ba6
|
lint fix
|
2013-12-03 17:56:50 +00:00 |
|
Mathieu Le Marec - Pasquet
|
e9246d2a77
|
Remove bootstrap.py's & adapt tests for zcbuildout module
|
2013-12-03 17:53:58 +00:00 |
|
Mathieu Le Marec - Pasquet
|
30511257a8
|
add requires_network for buildout test
|
2013-12-03 16:51:46 +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 |
|
regilero
|
772144af8a
|
MySQL unit tests, make the examples more complex
|
2013-12-01 10:43:13 +01:00 |
|
Pedro Algarvio
|
923428c68b
|
Fix PyLint issues.
|
2013-12-01 01:35:41 +00:00 |
|
regilero
|
1556a3f2c6
|
Fix mysql unit tests for queries with parameters
|
2013-12-01 00:34:30 +00:00 |
|
regilero
|
d3cdb68a37
|
Initial MySQL integration test with MySQl packages installed
|
2013-12-01 00:34:29 +00:00 |
|
regilero
|
1319755c55
|
Fix typo in mysql unit test
|
2013-12-01 00:34:29 +00:00 |
|
Mathieu Le Marec - Pasquet
|
228c987b76
|
feat: buildout support
This fixes #8856.
|
2013-11-29 18:51:20 +00:00 |
|
Pedro Algarvio
|
9289c9cf31
|
Add a deploy_scripts_search_path test case.
The test checks if the user provided search path is loaded, even if not passed as a list, and if it's the first occurrence on the list.
|
2013-11-28 11:18:09 +00:00 |
|
Pedro Algarvio
|
4a08f332af
|
Move and update the cloud configuration unit tests.
|
2013-11-28 11:02:23 +00:00 |
|
Thomas S Hatch
|
aa4bdc043b
|
Fix pylint errors in tests
|
2013-11-27 10:50:55 -07:00 |
|
Joseph Hall
|
0351da57c6
|
Merge pull request #8860 from cachedout/smtp_returner_test
Unit-test SMTP returner.
|
2013-11-27 09:18:52 -08:00 |
|
Mike Place
|
4108fb72a2
|
Unit-test SMTP returner.
|
2013-11-27 10:10:51 -07:00 |
|
Pedro Algarvio
|
aa8ead9897
|
Remove duplicate method
|
2013-11-27 13:06:59 +00:00 |
|
Pedro Algarvio
|
b21bf4b682
|
Extra or misplaced white-space
|
2013-11-27 12:59:56 +00:00 |
|
Pedro Algarvio
|
880c9b5cff
|
Fix PEP8 E261 - White space before inline comment
|
2013-11-27 12:56:35 +00:00 |
|
Pedro Algarvio
|
b34377612e
|
Remove extra white-space.
|
2013-11-27 12:54:34 +00:00 |
|
Pedro Algarvio
|
f2e3a4aebe
|
Fix PyLint C0322 and C0324 - Spaces around opertor and commas
|
2013-11-27 12:48:53 +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 |
|
Mike Place
|
ad3a4e11b3
|
Oops. Didn't see the naming scheme for unit tests.
|
2013-11-26 15:27:43 -07:00 |
|
Mike Place
|
3326dbfd98
|
First-pass at establishing a unit-testing framework for the mysql execution module.
|
2013-11-26 15:16:42 -07:00 |
|
Mathieu Le Marec - Pasquet
|
50c1235502
|
add a test for #8707
|
2013-11-21 12:57:51 +01:00 |
|
Emil Stenqvist
|
f487d5568a
|
Fix for issue #8519
Also added a test that fails prior to the fix, illustrating the problem.
|
2013-11-14 14:26:35 +01:00 |
|
Pedro Algarvio
|
8ba59ea6c6
|
Adapt the tests to the latest Jinja2 template changes.
|
2013-11-14 01:21:57 +00:00 |
|
Pedro Algarvio
|
55e0290da6
|
Fix the mocked contents pillar file state tests.
|
2013-11-12 07:55:03 +00:00 |
|
Pedro Algarvio
|
f25f0a41b2
|
Deprecate env usage in favor of saltenv .
|
2013-11-12 01:01:51 +00:00 |
|
Pedro Algarvio
|
f4cba0d293
|
Deprecate env usage in favor of saltenv .
|
2013-11-12 01:01:50 +00:00 |
|
Joseph Hall
|
34360ac306
|
Merge pull request #8373 from s0undt3ch/develop
Typo
|
2013-11-09 05:29:57 -08: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 |
|
Pedro Algarvio
|
544f7e127d
|
Don't use the deprecated self.assertEquals() .
|
2013-11-09 09:01:18 +00:00 |
|
Thomas S Hatch
|
d4ddb8344d
|
Merge pull request #8329 from cachedout/#8259
Exception handling for missing id
|
2013-11-07 15:59:39 -08: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 |
|
regilero
|
9dce9ac304
|
Add unit tests for grains.filter_by
|
2013-11-07 17:15:30 +01:00 |
|
Pedro Algarvio
|
0f9ded1a7a
|
Fix the pip unit tests with regards to the latest saltenv changes.
|
2013-11-06 23:53:45 +00:00 |
|
Pedro Algarvio
|
4c84b1da3e
|
State unit tests need to have an hardcoded __env__ .
|
2013-11-06 20:04:54 +00: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 |
|
Henrik Holmboe
|
c0aecc7c4b
|
Use ElementTree from salt.utils._compat
Also remove duplicate import of ElementTree.
|
2013-10-26 18:46:17 +02:00 |
|
Xavier Barbosa
|
a5575aca13
|
deprecated assertEquals
|
2013-10-25 02:33:17 +02:00 |
|
Xavier Barbosa
|
a218aea003
|
fix jinja unittest
|
2013-10-25 02:33:16 +02:00 |
|
Xavier Barbosa
|
1309ef9887
|
fix jinja rendering of nested structures
|
2013-10-25 02:33:16 +02:00 |
|
Henrik Holmboe
|
77fd1acb7f
|
Change assertEquals to assertEqual
According to
http://docs.python.org/2/library/unittest.html#deprecated-aliases
assertEquals is a deprecated alias of assertEqual.
|
2013-10-24 11:39:04 +02:00 |
|
regilero
|
3db62ebc3f
|
Add file.blockreplace module and state. With unit tests.
|
2013-10-23 16:36:59 +02:00 |
|
Thomas S Hatch
|
ca77c58b41
|
Merge pull request #7942 from kretz/rbenv-support-in-gem
Support gem execution with rbenv ruby.
|
2013-10-18 09:59:55 -07:00 |
|
Martin Kretz
|
2e1db23b15
|
Added testcases to suppor rbevn in gem.
|
2013-10-18 13:44:45 +02:00 |
|
Thomas S Hatch
|
fef1647e97
|
Merge pull request #7889 from holmboe/virt-tmpl-refactor
Templating refactor in virt.py
|
2013-10-17 11:09:34 -07:00 |
|
Pedro Algarvio
|
9181ac81b9
|
Update the alternatives mocked unit tests to the new python_shell argument to cmd .
|
2013-10-16 23:43:27 +01:00 |
|
Pedro Algarvio
|
badf339b01
|
Improve code readability.
|
2013-10-16 21:51:51 +01:00 |
|