[test] set up evolve extension so vcsfile import can do its thing
authorJulien Cristau <julien.cristau@logilab.fr>
Tue, 23 Dec 2014 14:18:51 +0100
changeset 1675 533a3f8bbebb
parent 1674 7e66dbf04a09
child 1676 8f156ee8d9e7
[test] set up evolve extension so vcsfile import can do its thing Related to #4786982
test/unittest_hooks.py
--- a/test/unittest_hooks.py	Tue Dec 23 14:17:50 2014 +0100
+++ b/test/unittest_hooks.py	Tue Dec 23 14:18:51 2014 +0100
@@ -9,6 +9,7 @@
 from cubicweb import Binary
 
 from cubes.vcsfile import bridge
+from cubes.vcsfile.testutils import HGRCMixin
 from cubes.apycot.hooks import start_period_tests
 from cubes.apycot.testutils import ApycotBaseTC
 
@@ -129,7 +130,7 @@
             self.assertNotIn('anon', [u.login for u in plan.nosy_list])
 
 
-class StartTestTC(ApycotBaseTC):
+class StartTestTC(HGRCMixin, ApycotBaseTC):
 
     def setUp(self):
         super(StartTestTC, self).setUp()
@@ -374,7 +375,7 @@
             self.assertNotEqual(u'waiting execution', te.status)
 
 
-class ComputedStartModeTC(ApycotBaseTC):
+class ComputedStartModeTC(HGRCMixin, ApycotBaseTC):
 
     def test_start_mode(self):
         with self.admin_access.client_cnx() as cnx: