 
 (def base-request
   "A basic request to feed into the tests"
-  (request "/" :get "127.0.0.1" (create-certificate "test.domain.org") ))
+  (testutils/request "/" :get "127.0.0.1" (testutils/create-certificate "test.domain.org") ))
 
 (def unauthenticated-request
   "A basic unauthenticated request to feed into the tests"
-  (request "/" :get "127.0.0.1"))
+  (testutils/request "/" :get "127.0.0.1"))
 
 (defprotocol EchoReverseService
   (echo-reverse [this msg]))

                  (update-in [:headers] merge
                             {"x-client-dn" "CN=test.domain.org"
                              "x-client-verify" "SUCCESS"
                              "x-client-cert" (url-encoded-cert
                                                test-domain-cert)}))
          response (app req)
          authorization (get-in response [:request :authorization])]
      (is (= 200 (:status response)))

    [puppetlabs.ssl-utils.core :as ssl-utils]
    [puppetlabs.trapperkeeper.app :refer [get-service]]
    [puppetlabs.trapperkeeper.authorization.rules :as rules]
    [puppetlabs.trapperkeeper.authorization.testutils :as testutils]
    [puppetlabs.trapperkeeper.services :refer [defservice]]
    [puppetlabs.trapperkeeper.services.authorization.authorization-service
     :refer [authorization-service]]
