salt/tests/unit
Pedro Algarvio 8a938c9a66 Workaround the stateconf TypeError exceptions under python 2.6
```python
Traceback (most recent call last):
  File "/testing/tests/unit/stateconf_test.py", line 117, in test_state_prefix
    ''', sls='test')
  File "/testing/tests/unit/stateconf_test.py", line 30, in render_sls
    **kws.copy()
  File "/testing/salt/renderers/stateconf.py", line 229, in render
    data = process_sls_data(sls_templ, tmplctx)
  File "/testing/salt/renderers/stateconf.py", line 114, in process_sls_data
    argline=rt_argline.strip(), **kws
  File "/testing/salt/renderers/jinja.py", line 41, in render
    tmp_data.get('data', 'Unknown render error in jinja renderer')
SaltRenderError: Traceback (most recent call last):
  File "/testing/salt/utils/templates.py", line 64, in render_tmpl
    output = render_str(tmplstr, context, tmplpath)
  File "/testing/salt/utils/templates.py", line 102, in render_jinja_tmpl
    loader = JinjaSaltCacheLoader(opts, context['env'])
  File "/testing/salt/utils/jinja.py", line 42, in __init__
    self.searchpath = opts['file_roots'][env]
TypeError: list indices must be integers, not str
```
2013-08-12 13:55:03 +01:00
..
modules Fix the test_install_pre_argument_in_resulting_command test case. 2013-08-09 12:14:56 +01:00
states Under python 2.6 using {}.format()(without an index) is a ValueError. 2013-08-06 19:29:08 +01:00
templates added load tag, and revamped parsing 2013-07-26 09:30:41 +02:00
utils Allow salt.utils.warn_until() to not issue the warning because we're only after the RuntimeError behaviour. 2013-07-20 16:26:47 +01:00
__init__.py Refactor runtests to allow dotted path module discovery. 2012-05-29 19:56:47 -07:00
config_test.py Properly deprecate check_dns. 2013-07-20 01:39:23 +01:00
highstateconf_test.py Stop using the deprecated check_dns in salt.config.minion_config. 2013-07-20 01:38:09 +01:00
log_test.py Updated some of the test cases to use a much more readable approach using salttesting.helpers.ensure_in_syspath(). 2013-06-28 00:12:59 +01:00
payload_test.py Added unit test for list nested OrderedDict's. Refs #6460. 2013-08-01 01:34:37 +01:00
pillar_test.py added support for order clauses in pillar top files 2013-08-07 22:57:42 +02:00
pydsl_test.py Skip pydsl test without tty 2013-08-10 14:04:18 -06:00
simple.py Make sure every test module is runnable by __main__. 2013-06-28 00:12:56 +01:00
stateconf_test.py Workaround the stateconf TypeError exceptions under python 2.6 2013-08-12 13:55:03 +01:00
version_test.py Minor formating changes. 2013-06-28 00:12:59 +01:00