Xavier Barbosa
3f49000ba2
unittesting for file.serialize and yaml & json filters
2013-07-08 16:19:19 +02:00
Pedro Algarvio
d6049a92b5
Use an unicode aware context in the jinja render call. Refs #3436
2013-07-02 14:28:20 +01:00
Pedro Algarvio
4a875f5b35
Updated unit.templates.jinja_test
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:04 +01:00
Pedro Algarvio
222be7b446
Make sure every test module is runnable by __main__
.
...
* Double to single quotes
2013-06-28 00:12:56 +01:00
Michał Jarco
7f782afb14
Fixed jinja_tests.
...
File roots contains lists of paths for each env.
2013-01-14 08:58:27 +01:00
Jeroen Dekkers
c123d8f824
Preserve the final newline in Jinja templates
2012-12-02 19:45:09 +01:00
Pedro Algarvio
c5fe83272f
Even more open()
to salt.utils.fopen()
.
2012-11-18 18:57:10 +00:00
Thomas S Hatch
326904e020
An easy fix on opening files
2012-11-13 20:55:40 -07:00
Jack Kuan
db451d5ed3
Update jinja template unit tests and remove obsolete salt.utils.jinja.get_template().
2012-11-12 17:08:14 -05:00
Morgan Fainberg
7800157e37
Fix the test for jinja, local (non salt:// files) now can support {% include %}
2012-09-27 14:55:55 -07:00
Intchanter
a1433ef5ec
PEP8 fixes for tests
2012-06-30 14:10:34 -06:00
David Boucha
bb72a4dfba
Fix jinja_test on Windows
2012-06-24 18:16:22 -06:00
Baiju Muthukadan
24bb4ea4e0
Fix PEP8 warnings for test cases
2012-05-29 22:10:20 +05:30
Jeff Schroeder
6f836afafa
Remove a few instances of hardcoded /tmp in code
...
tempfile.gettempdir() is way better. The gem and rvm states are
still failing, but only because they require the "mock" python
module for running their tests.
2012-05-09 21:29:05 -07:00
Anselm Helbig
5bc9ea7d67
added preliminary unit tests for rvm module
2012-05-02 09:42:01 +02:00
Eivind Uggedal
ab7ace6aa5
Split out integration tests from pure unit tests.
...
Integration tests requiring a salt master and daemon were seperated
from pure unit tests. For now both are run with runtest.py. In
the future it could take arguments for which type of tests to run.
2012-02-20 13:18:13 +01:00