def go_as_admin(self, path, **kwargs):
     """Navigates to the given path with an admin login."""
     scrape.setcookies(self.s.cookiejar, self.hostport,
                       ['[email protected]:True:1'])
     return self.go(path, **kwargs)
 def go_as_admin(self, path, **kwargs):
     """Navigates to the given path with an admin login."""
     scrape.setcookies(self.s.cookiejar, self.hostport,
                       ['[email protected]:True:1'])
     return self.go(path, **kwargs)