github.com/mhilton/juju-juju@v0.0.0-20150901100907-a94dd2c73455/worker/leadership/export_test.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package leadership 5 6 import ( 7 "github.com/juju/juju/worker" 8 ) 9 10 var NewManifoldWorker = &newManifoldWorker 11 12 func DummyTrackerWorker() worker.Worker { 13 // yes, this is entirely unsafe to *use*. It's just to get something 14 // of the right type to use in the manifold's Output tests. 15 return &tracker{} 16 }