blob: 46b8ca129c7d617dad1fcfd0294d50293800ebec [file] [log] [blame]
Ash Wilsonb482d542014-08-28 15:48:04 -04001package tokens
2
3import (
4 "net/http"
5 "net/http/httptest"
6)
7
8var (
9 mux *http.ServeMux
10 server *httptest.Server
11)
12
13func setup() {
14 mux = http.NewServeMux()
15 server = httptest.NewServer(mux)
16}
17
18func teardown() {
19 server.Close()
20}
21
22func endpoint() string {
23 return server.URL + "/"
24}