DescriptionMove state watcher test helpers to state/testing
I want to use the helpers in state/watcher_test.go for tests under the
state/apiserver/machiner package. Because they are under the state_test
package name but the state/ directory, this means moving the file
somewhere else.
Considered but rejected:
* testing/watcher.go (circular import)
* testing/apiserver/testing/watcher.go (not just apiserver related)
So, created a new state/testing package and moved there. This also has
issues:
* We have way to many 'testing' packages
* Need to make struct params Global (or write New... contructors)
https://code.launchpad.net/~gz/juju-core/share_state_watcher_test/+merge/171614
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 3
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||