def test_getModuleForNameLoad(self):
        moduleName = u'test_getModuleForNameLoad'
        origAllCSSPackages = athena.allCSSPackages
        theCSSPackages = {moduleName: self.mktemp()}
        athena.allCSSPackages = lambda: theCSSPackages
        reg = athena.CSSRegistry()
        try:
            mod = reg.getModuleForName(moduleName)
        finally:
            athena.allCSSPackages = origAllCSSPackages
        self.assertEqual(mod.name, moduleName)
        self.assertEqual(mod.mapping, theCSSPackages)
L{athena.CSSRegistry} should initialize its mapping from
dataset/ETHPy150Open twisted/nevow/nevow/test/test_athena.py/CSSRegistryTests.test_getModuleForNameLoad