On 7/16/13, Ryan Ollos <[email protected]> wrote: > [...] > > As an experiment, I found that enabling `multiproduct.versioncontrol.*` in > the EnvironmentStub for the test execution will fix the issue and result in > all of the unit tests passing, however this doesn't seem like the right > change to make, so I ask for advice on how to proceed. > > Index: trac/admin/tests/console.py > =================================================================== > --- trac/admin/tests/console.py (revision 1503481) > +++ trac/admin/tests/console.py (working copy) > @@ -82,7 +82,7 @@ > '===== (test_[^ ]+) =====') > > def setUp(self): > - self.env = EnvironmentStub(default_data=True, enable=('trac.*',), > + self.env = EnvironmentStub(default_data=True, enable=('trac.*', > 'multiproduct.versioncontrol.*'), > disable=('trac.tests.*',)) > self._admin = console.TracAdmin() > self._admin.env_set('', self.env) >
Is there a chance to apply this change in multiproduct test suite ? That'd be the right place to tweak test cases this way. [...] -- Regards, Olemis.
