Generating zcml overrides writes to global state
Bug #663620 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
the override file that generate_overrides writes to is global state; this can result in tests stomping on each other.
We could address this (given how static it is) by indirecting via python, which can know the config name.
Doing this should allow removing the overrides file altogether in fact.
summary: |
- generate overrides writes to global state + Generating zcml overrides writes to global state |
tags: | removed: paralleltest |
To post a comment you must log in.
+1 on getting rid of the dynamically generated overrides.
"indirecting via python": IOW, instead of loading site.zcml always, we'd load different top-level zcmls, like ftesting.zcml or dev.zcml? Or something else?