__pkginfo__.py
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Mon, 11 Mar 2019 17:43:23 +0100
changeset 12512 661dd0436c01
parent 11382 dab704a0e4b1
permissions lrwxrwxrwx
[schema] drop monkeypatch "name_for" on BaseConstraint BaseConstraint doesn't have "name_for" method, this is just an addition for cubicweb needs. Implement this as a function instead of a monkeypatch to avoid having "name_for" not defined because cubicweb.schema hasn't been imported. In particular this fix running cubicweb/server/test/unittest_schema2sql.py::SQLSchemaTC::test_known_values alone.

cubicweb/__pkginfo__.py