[hooks/test] don't rely on RelationDefinition implicitly
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 02 Jul 2015 09:20:02 +0200
changeset 10480 770b58f99e66
parent 10479 b0417cacecd9
child 10519 0019b7888dd7
[hooks/test] don't rely on RelationDefinition implicitly Its presence in globals is deprecated and going away.
hooks/test/data-computed/schema.py
--- a/hooks/test/data-computed/schema.py	Thu Jun 11 16:51:51 2015 +0200
+++ b/hooks/test/data-computed/schema.py	Thu Jul 02 09:20:02 2015 +0200
@@ -15,7 +15,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-from yams.buildobjs import EntityType, String, Int, SubjectRelation
+from yams.buildobjs import EntityType, String, Int, SubjectRelation, RelationDefinition
 
 THISYEAR = 2014