Skip to content

Commit

Permalink
fix tests for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
pawels-optimizely committed Apr 21, 2020
1 parent f6e48ac commit f4e3031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_optimizely.py
Original file line number Diff line number Diff line change
Expand Up @@ -2592,7 +2592,7 @@ def test_get_all_feature_variables(self):
mock.call('Value for variable "object" for variation "variation" is "{"test": 123}".'),
mock.call('Value for variable "environment" for variation "variation" is "staging".'),
mock.call('Value for variable "cost" for variation "variation" is "10.02".')
]
], any_order=True
)

mock_broadcast_decision.assert_called_once_with(
Expand Down Expand Up @@ -2997,7 +2997,7 @@ def test_get_all_feature_variables_for_feature_in_rollout(self):
mock.call('Value for variable "object" for variation "211129" is "{"field": 12}".'),
mock.call('Value for variable "price" for variation "211129" is "39.99".'),
mock.call('Value for variable "is_running" for variation "211129" is "true".'),
]
], any_order=True
)
mock_broadcast_decision.assert_called_once_with(
enums.NotificationTypes.DECISION,
Expand Down

0 comments on commit f4e3031

Please sign in to comment.