def test_min_fresh(self):
        # this test is raced; if running it takes about a second, it might fail
        r = Response()
        r.date = timedelta(seconds=100) - datetime.utcnow()
        r.cache_control.max_age = 200
        f = self.r.response_freshness_seconds(r)
        with a.test_request_context('/foo', headers=(('cache-control', 'min-fresh=50'),)):
            try:
                self.r.verify_response_freshness_or_miss(r, f)
            except CacheMiss:
                self.fail('unexpected CacheMiss on reasonably fresh response')
        with a.test_request_context('/foo', headers=(('cache-control', 'min-fresh=150'),)):
            self.assertRaises(NotFreshEnoughForClient, self.r.verify_response_freshness_or_miss, r, f)
dataset/ETHPy150Open fusic-com/flask-webcache/tests/test_storage.py/StorageTestCase.test_min_fresh/swapped operands of `-`