By a quirk of autospec it doesn't work though :(

See the note at the very bottom of http://www.voidspace.org.uk/python/mock/helpers.html#autospeccing