'Check that after disabling a module, it can\'t be imported anymore.'

def test_disableOneModule(self):

    self.config.parseOptions(['--without-module', 'smtplib'])
    self.assertRaises(ImportError, self._checkSMTP)
    del sys.modules['smtplib']
    self.assertIsInstance(self._checkSMTP(), types.ModuleType)
