Skip to content

Commit 4f85231

Browse files
Update tests/client/test_client.py
Co-authored-by: Emiliano Sanchez <emiliano.sanchez@harness.io>
1 parent bedcbce commit 4f85231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ def synchronize_config(*_):
13581358
_logger.reset_mock()
13591359
assert client.get_treatments('some_key', ['SPLIT_2'], evaluation_options=123) == {'SPLIT_2': 'on'}
13601360
assert impression_storage.pop_many(100) == [Impression('some_key', 'SPLIT_2', 'on', 'some_label', 123, None, 1000, 1000, None)]
1361-
assert _logger.error.mock_calls == [mocker.call('%s: evaluaiton option should be an instance of EvaluationOptions, setting its value to None.', 'get_treatments')]
1361+
assert _logger.error.mock_calls == [mocker.call('%s: evaluation options should be an instance of EvaluationOptions. Setting its value to None.', 'get_treatments')]
13621362

13631363
assert client.get_treatments_with_config('some_key', ['SPLIT_2'], evaluation_options=EvaluationOptions({"prop": "value"})) == {'SPLIT_2': ('on', None)}
13641364
assert impression_storage.pop_many(100) == [Impression('some_key', 'SPLIT_2', 'on', 'some_label', 123, None, 1000, None, '{"prop": "value"}')]

0 commit comments

Comments
 (0)