Beispiel #1
0
 def NewGP(self):
     gpTable = GPTable()
     gpTable.add(self.gpGeneralPage.first.GetValue(),
                 self.gpGeneralPage.surname.GetValue(),
                 address=self.gpGeneralPage.address.GetValue(),
                 town=self.gpGeneralPage.town.GetValue(),
                 post_code=self.gpGeneralPage.postcode.GetValue(),
                 home_phone=self.gpGeneralPage.homephone.GetValue(),
                 work_phone=self.gpGeneralPage.workphone.GetValue(),
                 mobile=self.gpGeneralPage.mobile.GetValue(),
                 prefered_phone=self.gpGeneralPage.preferedPhone.GetValue(),
                 email=self.gpGeneralPage.email.GetValue())
     #self.gpGeneralPage.title.GetValue()
     '''
Beispiel #2
0
    def test30(self):
        ''' Initalise Table with date '''
        pa = GPTable()
        pa.add("Steve", "Dean")
        pa.add("Stephen", "Bennett")
        pa.add("Stephen", "Brunton")
        pa.add("Simon", "Robinson")
        pa.add("Roger", "Smith")
        pa.add("Robert", "Poole")
        pa.add("Robert", "Gardner")
        pa.add("Richard", "Howell")
        pa.add("Richard", "Fewing")
        pa.add("Richard", "Carter")
        pa.add("Peter", "King")
        pa.add("Peter", "Connolly")
        pa.add("Paul", "Limb")
        pa.add("Paul", "Leeming")
        pa.add("Paul", "Hill")
        pa.add("Paul", "Arthurs")
        pa.add("Paul", "Bergin")


        pa.add("Paul", "Arnold")
        pa.add("Nigel", "Williams")
        pa.add("Neville", "Smith")
        pa.add("Neil", "Clark")
        pa.add("Mike T", "Robson")
        pa.add("Michael", "Peirce")
        pa.add("Max", "Borkowski")
        pa.add("Martin", "Kirby")
        pa.add("Mark", "Stanley")
        pa.add("Mark", "Ingram")
        pa.add("Mark", "Collins")
        pa.add("Malcolm", "Stenning")
        pa.add("Louis", "Kenney")
        pa.add("Leon", "Tanner")
        pa.add("Krystyn", "Rogers")
        pa.add("Kevin", "Ellwood")
        pa.add("Steve", "Kersley")
        pa.add("dave","fresdrickson" )