> It doesn't make sense to me yet. What data is set up in __init__s at the
> moment and why is this not done in the setUp method?

trac.wiki.tests.formatter.WikiTestCase uses self.env.config.set.

ProductWikiTestCase in (bloodhound_multiproduct) tests.wiki.formatter
replaces self.env with ProductEnvironment. ProductEnvironments use
Configurations defined in multiproduct.config that basically save
settings to database.

TestSuite defined in tests.wiki.formatter first instantiates TestCases
for each of the available wiki syntax/resulting html pairs. When these
tests were run sequentially, tearDown of the first test removed the
intertrac configuration of all the tests, thus causing them to fail.

Reply via email to