def get_expire_delta(self, reference=None):
        if reference is None:
            reference = now()
        expiration = self.expires

        if timezone:
            if timezone.is_aware(reference) and timezone.is_naive(expiration):
                # MySQL doesn't support timezone for datetime fields
                # so we assume that the date was stored in the UTC timezone
                expiration = timezone.make_aware(expiration, timezone.utc)
            elif timezone.is_naive(reference) and timezone.is_aware(expiration):
                reference = timezone.make_aware(reference, timezone.utc)

        timedelta = expiration - reference
        return timedelta.days*86400 + timedelta.seconds
Test the scenario when the cluster that updated also runs another project,
dataset/ETHPy150Open caffeinehit/django-oauth2-provider/provider/oauth2/models.py/AccessToken.get_expire_delta--crossover with--dataset/ETHPy150Open dropbox/changes/tests/changes/api/test_cached_snapshot_details.py/CachedSnapshotClusterDetailsAPITestCase.test_multiproject