Skip to content

Instantly share code, notes, and snippets.

@davidread
Created January 24, 2012 18:09
Show Gist options
  • Save davidread/1671595 to your computer and use it in GitHub Desktop.
Save davidread/1671595 to your computer and use it in GitHub Desktop.
(pyenv-ckan2)dread@dread-laptop:~/gitroot/ckan2$ nosetests --ckan ckan/tests/test_plugins.py:TestPlugins
/home/dread/gitroot/pyenv-ckan2/lib/python2.6/site-packages/pylons/templating.py:610: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
Engine = entry_point.load()
No handlers could be found for logger "vdm"
/home/dread/gitroot/pyenv-ckan2/lib/python2.6/site-packages/formalchemy/forms.py:49: SADeprecationWarning: compile_mappers() is renamed to configure_mappers()
compile_mappers() # initializes InstrumentedAttributes
/home/dread/gitroot/pyenv-ckan2/lib/python2.6/site-packages/sqlalchemy/engine/reflection.py:46: SAWarning: Did not recognize type 'BIGINT' of column 'size'
ret = fn(self, con, *args, **kw)
/home/dread/gitroot/pyenv-ckan2/lib/python2.6/site-packages/sqlalchemy/engine/default.py:453: SAWarning: Unicode type received non-unicode bind param value.
param.append(processors[key](compiled_params[key]))
E...E
======================================================================
ERROR: test_mapper_plugin_fired (ckan.tests.test_plugins.TestPlugins)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dread/gitroot/ckan2/ckan/tests/test_plugins.py", line 171, in test_mapper_plugin_fired
mapper_plugin = PluginGlobals.env().plugin_registry['MapperPlugin'].__instance__
AttributeError: 'PluginEnvironment' object has no attribute 'plugin_registry'
======================================================================
ERROR: test_routes_plugin_fired (ckan.tests.test_plugins.TestPlugins)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dread/gitroot/ckan2/ckan/tests/test_plugins.py", line 179, in test_routes_plugin_fired
routes_plugin = PluginGlobals.env().plugin_registry['RoutesPlugin'].__instance__
AttributeError: 'PluginEnvironment' object has no attribute 'plugin_registry'
----------------------------------------------------------------------
Ran 5 tests in 0.281s
FAILED (errors=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment