github.com/mwhudson/juju@v0.0.0-20160512215208-90ff01f3497f/testing/mgo.go (about)

     1  // Copyright 2012, 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package testing
     5  
     6  import (
     7  	"testing"
     8  
     9  	gitjujutesting "github.com/juju/testing"
    10  )
    11  
    12  // MgoTestPackage should be called to register the tests for any package
    13  // that requires a secure connection to a MongoDB server.
    14  func MgoTestPackage(t *testing.T) {
    15  	gitjujutesting.MgoTestPackage(t, Certs)
    16  }