func (s *AuthS) SetUpTest(c *C) { rietveld.SetDebug(true) rietveld.SetLogger(c) s.ui = &dummyUI{} s.loginURL = testServer.URL + "/lurl" s.rietveldURL = testServer.URL + "/rurl" s.auth = rietveld.NewAuth(s.ui, false, s.loginURL) }
func (s *RietS) SetUpTest(c *C) { rietveld.SetDebug(true) rietveld.SetLogger(c) s.auth = &FakeAuth{} s.riet = rietveld.New(testServer.URL, s.auth) }