Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gmjosack committed Jan 8, 2015
1 parent 8dca51f commit b8a5f97
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nsot/handlers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ def prepare(self):


class FeHandler(BaseHandler):
def prepare(self):
BaseHandler.prepare(self)
# Need to access token to set Cookie.
self.xsrf_token

def render_template(self, template_name, **kwargs):
template = self.application.my_settings["template_env"].get_template(
template_name
Expand Down Expand Up @@ -87,8 +92,6 @@ class ApiHandler(BaseHandler):
def initialize(self):
BaseHandler.initialize(self)
self._jbody = None
# Need to access token to set Cookie.
self.xsrf_token

@property
def jbody(self):
Expand Down

0 comments on commit b8a5f97

Please sign in to comment.