Skip to content

Commit

Permalink
Merge 01cdf60 into a78ae4d
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed Jun 17, 2019
2 parents a78ae4d + 01cdf60 commit 7c2d133
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -78,8 +78,10 @@ def test_update_BCB_year(self):
]).unlink()

def test_update_BCB_scheduled(self):
self.bcb_provider.interval_type = 'days'
self.bcb_provider.interval_number = 14
self.bcb_provider.next_run = (
fields.Date.today() - relativedelta(days=15)
self.today - relativedelta(days=1)
)
self.bcb_provider._scheduled_update()

Expand All @@ -93,8 +95,10 @@ def test_update_BCB_scheduled(self):
]).unlink()

def test_update_BCB_no_base_update(self):
self.bcb_provider.interval_type = 'days'
self.bcb_provider.interval_number = 14
self.bcb_provider.next_run = (
fields.Date.today() - relativedelta(days=15)
self.today - relativedelta(days=1)
)
self.bcb_provider._scheduled_update()

Expand Down

0 comments on commit 7c2d133

Please sign in to comment.