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.
Affected files (+59, -189 lines):
A [revision details]
M agent/tools/tools_test.go
M cmd/args_test.go
M cmd/package_test.go
M cmd/supercommand_test.go
M dependencies.tsv
M environs/sync/sync_test.go
M juju/osenv/package_test.go
M state/api/rsyslog/rsyslog_test.go
M testing/base.go
M testing/imports.go
D testing/testbase/log.go
D testing/testbase/log_test.go
D testing/testbase/package_test.go
M utils/exec/package_test.go
M utils/fslock/package_test.go
M utils/home_windows_test.go
M utils/package_test.go
Reviewers: mp+221560_ code.launchpad. net,
Message:
Please take a look.
Description:
testing/testbase: remove
It's unnecessary - we move FindJujuCoreImports to com/juju/ testing) .
testing (and make it call the less specific version in
github.
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, CleanupSuite to
but in the meantime, add testing.
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)
Please review this at https:/ /codereview. appspot. com/99670045/
Affected files (+59, -189 lines): tools_test. go d_test. go sync/sync_ test.go package_ test.go rsyslog/ rsyslog_ test.go testbase/ log.go testbase/ log_test. go testbase/ package_ test.go package_ test.go package_ test.go windows_ test.go test.go
A [revision details]
M agent/tools/
M cmd/args_test.go
M cmd/package_test.go
M cmd/supercomman
M dependencies.tsv
M environs/
M juju/osenv/
M state/api/
M testing/base.go
M testing/imports.go
D testing/
D testing/
D testing/
M utils/exec/
M utils/fslock/
M utils/home_
M utils/package_