github.com/aarzilli/tools@v0.0.0-20151123112009-0d27094f75e0/os/fsi/tests/minimal_appengine_test.go (about)

     1  package tests
     2  
     3  import (
     4  	"log"
     5  	"testing"
     6  
     7  	"appengine/aetest"
     8  )
     9  
    10  func UncommentThis_TestFunction(t *testing.T) {
    11  	c, err := aetest.NewContext(nil)
    12  	if err != nil {
    13  		log.Printf("%v\n", err)
    14  		t.Fatal(err)
    15  	}
    16  	defer c.Close()
    17  
    18  	// Now you can run the code and tests requiring
    19  	// the appengine.Context
    20  }