def test_mergedFunctionBehavesLikeMergeTarget(self):
        foo_object = object()
        bar_object = object()

        def foo():
            return foo_object

        def bar(x, y, (a, b), c=10, *d, **e):
            return bar_object

        baz = util.mergeFunctionMetadata(foo, bar)
        self.assertIdentical(baz(1, 2, (3, 4), quux=10), bar_object)
Pass request to decorated test view, return response.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/TestMergeFunctionMetadata.test_mergedFunctionBehavesLikeMergeTarget--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py/ActionsTest.view