Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonhudavid committed Jul 23, 2019
1 parent 88da24c commit 4c1e996
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_optimizely.py
Original file line number Diff line number Diff line change
Expand Up @@ -2282,7 +2282,6 @@ def test_get_feature_variable(self):
}
}
)


def test_get_feature_variable_boolean_for_feature_in_rollout(self):
""" Test that get_feature_variable_boolean returns Boolean value as expected \
Expand Down Expand Up @@ -3108,7 +3107,6 @@ def test_get_feature_variable__returns_none_if_invalid_feature_key(self):
self.assertIsNone(opt_obj.get_feature_variable('invalid_feature', 'cost', 'test_user'))
self.assertIsNone(opt_obj.get_feature_variable('invalid_feature', 'count', 'test_user'))
self.assertIsNone(opt_obj.get_feature_variable('invalid_feature', 'environment', 'test_user'))


self.assertEqual(8, mock_config_logger.error.call_count)
mock_config_logger.error.assert_has_calls([
Expand Down Expand Up @@ -3142,7 +3140,7 @@ def test_get_feature_variable__returns_none_if_invalid_variable_key(self):
self.assertIsNone(opt_obj.get_feature_variable('test_feature_in_experiment',
'invalid_variable',
'test_user'))

self.assertEqual(5, mock_config_logger.error.call_count)
mock_config_logger.error.assert_has_calls([
mock.call('Variable with key "invalid_variable" not found in the datafile.'),
Expand Down

0 comments on commit 4c1e996

Please sign in to comment.