diff options
| author | Horus3 | 2015-03-20 17:30:11 +0100 |
|---|---|---|
| committer | Horus3 | 2015-03-20 17:30:11 +0100 |
| commit | 410504e069d37c522dca6bf820e9fc4cea2de871 (patch) | |
| tree | 75db9c44b5e852652fd8e54b8d4db91147fb77a2 /main_test.go | |
| parent | 9ab1f49c4c4aa5dcaa0dd50ec606ca06ca071c71 (diff) | |
| download | freemail-410504e069d37c522dca6bf820e9fc4cea2de871.tar.gz | |
Check if domain points to mail server. Add http handler to create a new entry.
Diffstat (limited to 'main_test.go')
| -rw-r--r-- | main_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main_test.go b/main_test.go index dfb296e..46cdf44 100644 --- a/main_test.go +++ b/main_test.go @@ -6,8 +6,11 @@ package main import ( "os" "testing" + "flag" ) +var testExternal = flag.Bool("external", false, "allow use of external networks during long test") + func TestMain(m *testing.M) { InitDB() os.Exit(m.Run()) |
