Skip to content

Commit 01a8ea1

Browse files
committed
Merge branch 'mnoman/AddBatchEP' of github.com:optimizely/python-sdk into mnoman/AddBatchEP
2 parents 65fb6fa + 86e4b7f commit 01a8ea1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

optimizely/event/event_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
from optimizely.helpers import enums
1515
from optimizely.helpers import event_tag_utils
1616
from optimizely.helpers import validator
17-
from . import user_event
18-
from . import payload
1917
from . import log_event
18+
from . import payload
19+
from . import user_event
2020

2121
CUSTOM_ATTRIBUTE_FEATURE_TYPE = 'custom'
2222

tests/test_config_manager.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ def test_fetch_datafile(self, _):
278278

279279
def test_is_running(self, _):
280280
""" Test that polling thread is running after instance of PollingConfigManager is created. """
281-
with mock.patch('optimizely.config_manager.PollingConfigManager.fetch_datafile') as mock_fetch_datafile:
281+
with mock.patch('optimizely.config_manager.PollingConfigManager.fetch_datafile'):
282282
project_config_manager = config_manager.PollingConfigManager(sdk_key='some_key')
283283
self.assertTrue(project_config_manager.is_running)
284-
mock_fetch_datafile.assert_called_with()

0 commit comments

Comments
 (0)