

def test_next_refresh(self):
    mock_config = {
        'REFRESH_INTERVAL': timedelta(days=1),
    }
    with patch.dict(app.config, values=mock_config, clear=True):
        self.assertEquals(self.card.next_refresh, datetime(year=self.test_date['year'], month=self.test_date['month'], day=(mock_config.test_date['day'] + 1)))

dataset/ETHPy150Open shaunduncan/breezeminder/breezeminder/tests/models/test_card.py BreezeCardTestCase.test_next_refresh/VarMisuse@79/101 `self`->`mock_config`