예제 #1
0
class Test(unittest.TestCase):
    i = None
    
    def setUp(self):
        self.i=Integration("*****",
                           "*****",
                           "*****")

    def tearDown(self):
        pass
    
    def testCreatePerson(self):
        print self.i.getPersonClient()
        person = Person()
        self.i.createPerson("testing-cdg2", person)

    def testGetPersonClient(self):
        c = self.i.getPersonClient()
        print c
        
    def testGetBulkClient(self):
        c = self.i.getBulkClient()
        print c
        
    def testGetCourseClient(self):
        c = self.i.getCourseClient()
        print c
        
    def testGetGroupClient(self):
        c = self.i.getGroupClient()
        print c
    
    def testGetMemberClient(self):
        c = self.i.getMemberClient()
        print c
예제 #2
0
 def setUp(self):
     self.i=Integration("*****",
                        "*****",
                        "*****")