Skip to content

Commit

Permalink
Merge ae2c0be into 66e3e4f
Browse files Browse the repository at this point in the history
  • Loading branch information
dpnova committed Feb 1, 2015
2 parents 66e3e4f + ae2c0be commit 8311847
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cyclone/tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,8 @@ def test_set_cookie_expires_days(self):
self.rh.set_cookie("name", "value", expires_days=5, max_age=55)
expires = self.rh._new_cookie["name"]['expires']
self.assertTrue(
expires >
email.utils.formatdate(
calendar.timegm(time.gmtime()),
localtime=False,
usegmt=True
)
email.utils.parsedate(expires) >
time.gmtime(),
)

def test_clear_cookie(self):
Expand Down

0 comments on commit 8311847

Please sign in to comment.