Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaszurkan-optimizely committed Dec 13, 2019
1 parent d7b09eb commit 1aebafd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_event_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,9 @@ def test_init__float_flush_interval(self):
)

# default flush interval is 30s.
self.assertEqual(0.5, self.event_processor.flush_interval)
mock_config_logging.info.assert_called_with('Using default value 30 for flush_interval.')
self.assertEqual(datetime.timedelta(seconds=0.5), self.event_processor.flush_interval)

def test_init__float_flush_interval(self):
def test_init__float_flush_deadline(self):
event_dispatcher = TestEventDispatcher()

with mock.patch.object(self.optimizely, 'logger') as mock_config_logging:
Expand Down

0 comments on commit 1aebafd

Please sign in to comment.