def test_since_not_set(self):
     req = testing.DummyRequest(matchdict=dict(
         user='******', since=()))
     views.since(req)
     assert req.since == 0
 def test_since_undefined(self):
     req = testing.DummyRequest(
         matchdict=dict(user='******'))
     views.since(req)
     assert req.since == 0