Calling dir() on a fake module instance created w/ zope.testing.module.setUp does not yield the expected results (it yields the instance attributes, instead of the fake module's "global" names).
This branch adds a dir method to FakeModule to emulate the behavior of a real module.
Calling dir() on a fake module instance created w/ zope.testing.module.setUp does not yield the expected results (it yields the instance attributes, instead of the fake module's "global" names).
This branch adds a dir method to FakeModule to emulate the behavior of a real module.