summary refs log tree commit diff stats
path: root/handlers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'handlers_test.go')
-rw-r--r--handlers_test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/handlers_test.go b/handlers_test.go
index b409521..63b7c3d 100644
--- a/handlers_test.go
+++ b/handlers_test.go
@@ -4,29 +4,11 @@ import (
 	"bytes"
 	"fmt"
 	"io/ioutil"
-	"log"
 	"net/http"
 	"net/http/httptest"
-	"os"
 	"testing"
 )
 
-var testport = fmt.Sprintf(":%v", confObj.port)
-
-func initTestConf() {
-	initConfig()
-	tmpls = initTemplates()
-	logToNull()
-}
-
-func logToNull() {
-	hush, err := os.Open("/dev/null")
-	if err != nil {
-		log.Printf("%v\n", err)
-	}
-	log.SetOutput(hush)
-}
-
 // these will be expanded later. currently, they only
 // test for a 200 status code.
 func Test_indexHandler(t *testing.T) {