LayerDatabasePolicyTestCase shouldn't use DummyConfiguration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Francis J. Lacoste |
Bug Description
When running "bin/test -vvm canonical.
If instead I run the following, everything passes:
bin/test -vvm canonical.
The tests excluded in this second run all subclass from DummyConfigurat
Changed in launchpad-foundations: | |
assignee: | Leonard Richardson (leonardr) → Francis J. Lacoste (flacoste) |
status: | Triaged → In Progress |
summary: |
- DummyConfigurationTestCase does not tear down correctly. + LayerDatabasePolicyTestCase shouldn't use DummyConfiguration |
Changed in launchpad-foundations: | |
status: | In Progress → Fix Released |
I think this is a layer problem. Tests using the DummyConfigurat ionTestCase should not use any layer I think. Otherwise, they will overwrite the normal web service configuration used in Launchpad.