Pedro Algarvio
60f215f191
Add from __future__ import absolute_import
2015-01-30 22:25:04 +00:00
Pedro Algarvio
ea717d2422
Switch open()
for salt.utils.fopen()
2014-11-26 17:59:52 +00:00
Pedro Algarvio
5283fa661e
Adapt tests to behaviour introduced in #13333
2014-06-10 03:00:19 +01:00
Pedro Algarvio
6f1337b4c8
Remove extra white-space
2014-03-29 13:20:47 +00:00
Pedro Algarvio
596b38e494
Provide env
to templates.
...
Map `env` to the same value of `saltenv` in the templating context until
`env` is fully deprecated in favor of `saltenv`.
Fixes #11480 .
2014-03-29 13:03:36 +00:00
Mathieu Le Marec - Pasquet
688abda402
display full jinja traceback when applicable
...
This fixes #10010
2014-01-29 02:04:12 +01:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Pedro Algarvio
671787d8cb
Updated integration.states.compiler
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:02 +01:00
Pedro Algarvio
be54a503d9
Adapted code fix sys.path
in case called from __main__
. Adapted to salt-testing.
2013-06-28 00:12:56 +01:00
Thomas S Hatch
e61ddfdcfc
fix many a test
2012-07-23 13:00:54 -06:00
Intchanter
768e17b9d5
We return tuples, not lists
2012-07-20 08:31:36 -06:00
Roman Imankulov
bb0ed1a3a7
Tests cleanup
...
Defined "integration.run_tests()" function which can be used to execute
a particular integration test case. Existing bolerplate code in modules
and states tests is replaced with following lines:
if __name__ == '__main__':
from integration import run_tests
run_tests(TestCaseName)
Typical usecase could look like this:
python integration/modules/pip.py --no-clean -vv
2012-07-20 12:25:08 +06:00
Baiju Muthukadan
24bb4ea4e0
Fix PEP8 warnings for test cases
2012-05-29 22:10:20 +05:30
Thomas S Hatch
a4864f9c80
Add initial compiler tests
2012-05-16 23:00:01 -06:00