示例#1
0
// teardown deinitializes for each indivdual test.
func teardown(t *testing.T, store *cayley.Handle) {
	store.Close()
	tests.DisplayLog()
}
示例#2
0
// teardown deinitializes for each indivdual test.
func teardown(t *testing.T, db *db.DB, store *cayley.Handle) {
	db.CloseMGO(tests.Context)
	store.Close()
	tests.DisplayLog()
}