[Dev OpenGP] [53] test

[ Thread Index | Date Index | More opengp.tuxfamily.org/development Archives ]


Revision: 53
Author:   nicolaf
Date:     2009-03-18 14:45:48 +0100 (Wed, 18 Mar 2009)

Log Message:
-----------
test

Modified Paths:
--------------
    trunk/src/lib/ogp/core/ogpcore.py
    trunk/src/tests/ogp-test.py


Modified: trunk/src/lib/ogp/core/ogpcore.py
===================================================================
--- trunk/src/lib/ogp/core/ogpcore.py	2009-03-18 13:26:47 UTC (rev 52)
+++ trunk/src/lib/ogp/core/ogpcore.py	2009-03-18 13:45:48 UTC (rev 53)
@@ -3,6 +3,7 @@
 
 import ldap
 import ldap.modlist as modlist
+from ldap.dn import *
 from ogpldapconsts import *
 
 class OgpCore(object):
@@ -84,7 +85,8 @@
 			self.__add(dn, attrs)
 
 		def pullPluginConf(self, dn, pluginName, fullTree=False):
-			pass
+			dn = explode_dn(dn)
+			print dn
 
 		def pushPluginConf(self, dn, conf):
 			pass

Modified: trunk/src/tests/ogp-test.py
===================================================================
--- trunk/src/tests/ogp-test.py	2009-03-18 13:26:47 UTC (rev 52)
+++ trunk/src/tests/ogp-test.py	2009-03-18 13:45:48 UTC (rev 53)
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*
 
-from OgpCore import *
+from ogp.core import *
 
 uri = "ldap://localhost:389";
 dn = "cn=admin,dc=ogp"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/