#11893 closed enhancement (fixed)
Add reset_tables method to ConnectionBase class
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.3 |
| Component: | database backend | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: |
Added |
||
| Internal Changes: | |||
Description
With the ConnectionBase class added in #11581, it seems to make sense to move code for clearing database tables from tags/trac-1.0.2/trac/test.py@:180,188,217#L180 to the concrete implementations of the class.
Attachments (0)
Change History (6)
comment:1 by , 11 years ago
| Status: | new → assigned |
|---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
comment:4 by , 11 years ago
Setting of the log_level and log_type were duplicated in [10180#file3]: tags/trac-1.0.2/trac/test.py@:285-286,314-315#L279. This was fixed on 1.0-stable in [13584], merged in [13585].
comment:5 by , 11 years ago
Proposed changes in log:rjollos.git:t11893. Some of the proposed changes are related to #8172.
comment:6 by , 11 years ago
| API Changes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Committed to trunk in [13594:13597].



EnvironmentStubcallsComponent.__init__(self), however:Componentclass doesn't implement__init__and did not implement the method when the line was added in [3180].Environmentclass doesn't have the same call: tags/trac-1.0.2/trac/env.py@:#L265Therefore it looks like the following line can be removed: tags/trac-1.0.2/trac/test.py@:268#L238.