def test_class_with_server(self): class_schema = core.class_schema("user", server=config.server, cred=config.cred) self.assertIsInstance(class_schema, com_object) self.assertEquals(class_schema.ADsPath, self._expected("user", server=config.server))
def test_class_with_defaults(self): class_schema = core.class_schema("user") self.assertIsInstance(class_schema, com_object) self.assertEquals(class_schema.ADsPath, self._expected("user"))