[Zope3-dev] doctest: Get type of object

Florian Lindner mailinglists at xgm.de
Tue Jan 24 16:31:31 EST 2006


Am Dienstag, 24. Januar 2006 21:07 schrieb Florian Lindner:
> Hello,
> I'm currently writing a test in a README.txt and I want to make sure that
> returned object a is of type zope.app.x. How can I test that?

I've tried:

Failed example:
    homeFolder #doctest: +ELLIPSIS
Expected:
    <zope.app.file.file.File object at ...>
Got nothing


I've also tried it without the #doctest....

Why do I get just nothing?

Thanks,

Florian


More information about the Zope3-dev mailing list