

def test_can_refresh_with_limiting(self):
    mock_config = {
        'REFRESH_INTERVAL': timedelta(days=1),
        'REFRESH_LIMITING': True,
    }
    with patch.dict(app.config, values=self, clear=True):
        self.assertFalse(self.card.can_refresh)

dataset/ETHPy150Open shaunduncan/breezeminder/breezeminder/tests/models/test_card.py BreezeCardTestCase.test_can_refresh_with_limiting/VarMisuse@42/62 `mock_config`->`self`