Turbogears2 migration: tests: "cannot import name meta"

Thomas De Schampheleire patrickdepinguin at gmail.com
Fri Sep 23 19:42:03 UTC 2016


Hi,

After rebasing the tg2 branch onto recent Kallithea default, more
particularly onto something containing this commit:

o  6613 8d98924c58b1 default  2016-09-18 Thomas De Schampheleire
tests: add as little code as possible in __init__.py

I can no longer successfully start the test suite.
I get an import error: "cannot import name meta", which refers to some
import of kallithea.model.meta.

Initially this is shown when importing kallithea/tests/conftest.py,
but while debugging I commented out that entire file and saw the same
error appearing in other places.

When I backout the mentioned commit, everything seems to work.

I'm puzzled here, I don't see any change related to model or
model.meta in that commit, and I don't understand the problem at all.

Any help is welcome, I'm blocked here.

Thanks,
Thomas


More information about the kallithea-general mailing list