|
testing/testbase: remove
It's unnecessary - we move FindJujuCoreImports to
testing (and make it call the less specific version in
github.com/juju/testing).
We temporarily lose the ability to change the logging level
in tests, but that will be reinstated directly in LoggingSuite - it's
not crucial behaviour.
Eventually most tests will use testing.IsolationSuite,
but in the meantime, add testing.CleanupSuite to
those tests that need it.
https://code.launchpad.net/~rogpeppe/juju-core/562-lose-testbase/+merge/221560
(do not edit description out of merge proposal)
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+50 lines, -181 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
agent/tools/tools_test.go
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/args_test.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/package_test.go
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cmd/supercommand_test.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
dependencies.tsv
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
environs/sync/sync_test.go
|
View
|
|
5 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
juju/osenv/package_test.go
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/api/rsyslog/rsyslog_test.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
testing/base.go
|
View
|
1
2
3
|
3 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
 |
M |
testing/imports.go
|
View
|
|
2 chunks |
+5 lines, -42 lines |
0 comments
|
Download
|
 |
D |
testing/testbase/log.go
|
View
|
1
2
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
 |
D |
testing/testbase/log_test.go
|
View
|
|
1 chunk |
+0 lines, -53 lines |
0 comments
|
Download
|
 |
D |
testing/testbase/package_test.go
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
Total messages: 8
|