Skip to content

Commit

Permalink
Fixed nit spacing and wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
alda-optimizely committed Sep 8, 2017
1 parent 8362b7d commit 7327b0a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_event_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def test_create_conversion_event__with_attributes_no_match(self):

def test_create_conversion_event__with_event_tags(self):
""" Test that create_conversion_event creates Event object
with right params when event tags provided. """
with right params when event tags are provided. """

expected_params = {
'accountId': '12001',
Expand Down Expand Up @@ -391,7 +391,10 @@ def test_create_conversion_event__with_event_tags_numeric_value(self):
with mock.patch('time.time', return_value=42.123), \
mock.patch('optimizely.bucketer.Bucketer._generate_bucket_value', return_value=5042):
event_obj = self.event_builder.create_conversion_event(
'test_event', 'test_user', {'test_attribute': 'test_value'}, {'value': 1.234, 'non-revenue': 'abc'},
'test_event',
'test_user',
{'test_attribute': 'test_value'},
{'value': 1.234, 'non-revenue': 'abc'},
[('111127', '111129')]
)

Expand Down

0 comments on commit 7327b0a

Please sign in to comment.