Esempio n. 1
0
// teardown deinitializes for each indivdual test.
func teardown(t *testing.T, store *cayley.Handle) {
	store.Close()
	tests.DisplayLog()
}
Esempio n. 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()
}