def _resource_id(resource, path_seg):
    return "%s-%s" % (resource, path_seg)
Ensure we can use the token after n days, but no greater.
dataset/ETHPy150Open matrix-org/synapse/synapse/app/homeserver.py/_resource_id--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/auth/tests/tokens.py/TokenGeneratorTest.test_timeout