Commit d0eab0f
authored
fix(tests): correct the location of the Harness cleanup (#1719)
test_get_extensions called cleanup() on the Harness before using it, so
begin() and the assertion ran against an already-cleaned harness. This
only worked because of a Harness bug that leaves a dangling sqlite3
reference; the fix for that bug (canonical/operator#2507) makes cleanup()
tear down properly and breaks the test. Call cleanup() once the harness
is finished with instead.
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>1 parent bca13f9 commit d0eab0f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments