[hooks/test/synschema] remove an unneeded skipTest.
authorAurelien Campeas <aurelien.campeas@pythonian.fr>
Fri, 26 Jun 2015 10:26:00 +0200
changeset 11428 7995ae2d74be
parent 11427 7d38eb1bcd1f
child 11429 6a9a9ea1e9b9
[hooks/test/synschema] remove an unneeded skipTest. Related to #5557633.
cubicweb/hooks/test/unittest_syncschema.py
--- a/cubicweb/hooks/test/unittest_syncschema.py	Tue Jul 19 10:47:29 2016 +0200
+++ b/cubicweb/hooks/test/unittest_syncschema.py	Fri Jun 26 10:26:00 2015 +0200
@@ -371,9 +371,6 @@
         with self.admin_access.repo_cnx() as cnx:
             rdef = self.schema['Transition'].rdef('type')
             cstr = rdef.constraint_by_type('StaticVocabularyConstraint')
-            if not getattr(cstr, 'eid', None):
-                # bug in schema reloading, constraint's eid not restored
-                self.skipTest('start me alone')
             cnx.execute('SET X value %(v)s WHERE X eid %(x)s',
                         {'x': cstr.eid, 'v': u"u'normal', u'auto', u'new'"})
             cnx.execute('INSERT CWConstraint X: X value %(value)s, X cstrtype CT, '