'test getting the arguments from a function'

def test_function_decl(self):

    code = "def    foo(a,    b,    c=None,    d='hi',    e=x,    f=y+7):pass"
    parsed = ast.FunctionDecl(code, **exception_kwargs)
    eq_(parsed.funcname, 'foo')
    eq_(parsed.argnames, ['a', 'b', 'c', 'd', 'e', 'f'])
