def test_nameIsMerged(self):

        def foo():
            pass

        def bar():
            pass

        baz = util.mergeFunctionMetadata(foo, bar)
        self.assertEqual(baz.__name__, foo.__name__)
Verifies opcode results used in tests (e.g. in a mock).
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/TestMergeFunctionMetadata.test_nameIsMerged--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/rapi/testutils.py/VerifyOpResult