def test_func_nested(self):
        """
        Tests a target containing nested functions with a mix of args and
        kwargs.

        """
        paths = (
            'test.a.metric',
            'test.b.metric',
            'test.c.metric',
            'test.d.metric',
        )
        target = 'outerFunc(innerFunc(%s, %s), s=innerFunc(%s, %s))' % paths
        expected = list(paths)
        self.validate_paths(expected, pathsFromTarget({}, target))

        Tests a target containing nested functions with a mix of args and
        kwargs.

        
tests/test_paths.py