From 4e4bcd4b2340e0cedcd052cc9cf6991d878f7efc Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Thu, 26 Mar 2015 00:54:34 +0200 Subject: [PATCH] Removing reduce function references from tests --- tests/test_providers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_providers.py b/tests/test_providers.py index b545b476..85ac1cba 100644 --- a/tests/test_providers.py +++ b/tests/test_providers.py @@ -380,9 +380,9 @@ class StaticProvidersTests(unittest.TestCase): def test_call_overridden_function_provider(self): """Test overridden Function provider call.""" - function_provider = Function(map) - function_provider.override(Function(reduce)) - self.assertIs(function_provider(), reduce) + function_provider = Function(len) + function_provider.override(Function(sum)) + self.assertIs(function_provider(), sum) def test_call_overridden_value_provider(self): """Test overridden Value provider call."""