Removing reduce function references from tests

This commit is contained in:
Roman Mogilatov 2015-03-26 00:54:34 +02:00
parent bac0bd499c
commit 4e4bcd4b23

View File

@ -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."""