summaryrefslogtreecommitdiff
path: root/a_test.go
diff options
context:
space:
mode:
authorHorus32015-03-20 17:30:11 +0100
committerHorus32015-03-20 17:30:11 +0100
commit410504e069d37c522dca6bf820e9fc4cea2de871 (patch)
tree75db9c44b5e852652fd8e54b8d4db91147fb77a2 /a_test.go
parent9ab1f49c4c4aa5dcaa0dd50ec606ca06ca071c71 (diff)
downloadfreemail-410504e069d37c522dca6bf820e9fc4cea2de871.tar.gz
Check if domain points to mail server. Add http handler to create a new entry.
Diffstat (limited to 'a_test.go')
-rw-r--r--a_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/a_test.go b/a_test.go
index debcddb..ac16340 100644
--- a/a_test.go
+++ b/a_test.go
@@ -3,9 +3,12 @@
package main
import (
+ "flag"
"testing"
)
+var testExternal = flag.Bool("external", false, "allow use of external networks during long test")
+
func TestMain(t *testing.T) {
InitDB()
}