Created
January 2, 2015 16:45
-
-
Save johanek/6f515465e8122453ce47 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(salt)Johan-van-den-Dorpes-Macbook-Pro:tests johan$ python ./runtests.py -n unit.lint_test | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
* Transplanting configuration files to '/tmp/salt-tests-tmpdir/config' | |
* Current Directory: /Users/johan/git/salt/tests | |
* Test suite is running under PID 58310 | |
* Logging tests on /var/folders/h6/sf9lyr_54s54ymw_qkyf0dxw0000gn/T/salt-runtests.log | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
Starting unit.lint_test Tests | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
E | |
====================================================================== | |
ERROR: test_validate_sls (unit.lint_test.LintTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/johan/git/salt/tests/unit/lint_test.py", line 17, in test_validate_sls | |
ret = salt.modules.lint.validate_sls('test') | |
File "/Users/johan/git/salt/salt/modules/lint.py", line 122, in validate_sls | |
data = __salt__['state.show_sls'](mods, saltenv, test, queue, env, kwargs=kwargs) | |
NameError: global name '__salt__' is not defined | |
---------------------------------------------------------------------- | |
Ran 1 test in 0.003s | |
FAILED (errors=1) | |
============================================================================================ Overall Tests Report ============================================================================================= | |
*** unit.lint_test Tests *************************************************************************************************************************************************************************************** | |
-------- Tests with Errors ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
-> unit.lint_test.LintTestCase.test_validate_sls ............................................................................................................................................................ | |
Traceback (most recent call last): | |
File "/Users/johan/git/salt/tests/unit/lint_test.py", line 17, in test_validate_sls | |
ret = salt.modules.lint.validate_sls('test') | |
File "/Users/johan/git/salt/salt/modules/lint.py", line 122, in validate_sls | |
data = __salt__['state.show_sls'](mods, saltenv, test, queue, env, kwargs=kwargs) | |
NameError: global name '__salt__' is not defined | |
.............................................................................................................................................................................................................. | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
================================================================================================================================================================================================================= | |
FAILED (total=1, skipped=0, passed=0, failures=0, errors=1) | |
============================================================================================ Overall Tests Report ============================================================================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment