Hi All,
I have a weird issue when running nosetests in my pylons app. The issue is
with double call to init_model in ....../model/__init__.py
The actual error that I am getting is:
Failure: InvalidRequestError (Table 'xxxxxxx' is already defined for this
MetaData instance. Specify 'useexisting=True' to redefine options and
columns on an existing Table object.)
As I see first call to model/__init__.py is coming from
.../config/middleware.py: make_app
.../config/environment.py: load_environment
.../model/__init__.py: init_model
Second call as I expect is from ..../tests/__init__.py
SetupCommand('setup-app').run([config['__file__']])
I am fairly new to Pylons so it is possible I somehow botched my pylons
project.
pylons 0.9.7, nosetests 0.11.1
Thanks for suggestions,
Vitaliy
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.