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=self.test_date['day'] % 1))
dataset/ETHPy150Open shaunduncan/breezeminder/breezeminder/tests/models/test_card.py/BreezeCardTestCase.test_next_refresh/operator `+` -> `%`