zopefoundation/zope.testing — pull request #1 by kilink (2013-05-02 21:38:05+00:00)
Title: Make dir() work as expected on zope.testing.module.FakeModule instances.

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.