r16426 - gnucash/branches/dogtail/src/test-dogtail - misc updates after run the test suite on gnucash 2.2
Ahmed Sayed
asayed at cvs.gnucash.org
Mon Aug 13 19:06:19 EDT 2007
Author: asayed
Date: 2007-08-13 19:06:18 -0400 (Mon, 13 Aug 2007)
New Revision: 16426
Trac: http://svn.gnucash.org/trac/changeset/16426
Modified:
gnucash/branches/dogtail/src/test-dogtail/GnuCash.py
Log:
misc updates after run the test suite on gnucash 2.2
Modified: gnucash/branches/dogtail/src/test-dogtail/GnuCash.py
===================================================================
--- gnucash/branches/dogtail/src/test-dogtail/GnuCash.py 2007-08-13 23:05:02 UTC (rev 16425)
+++ gnucash/branches/dogtail/src/test-dogtail/GnuCash.py 2007-08-13 23:06:18 UTC (rev 16426)
@@ -471,15 +471,11 @@
self.findChild(predicate.GenericPredicate(\
roleName='check box', \
name='Display "tip of the day" dialog'))
- self.enable_euro_support = \
- self.findChild(predicate.GenericPredicate(\
- roleName='check box', \
- name='Enable euro support'))
self.perform_account_list_setup_on_new_file_cb = \
self.findChild(predicate.GenericPredicate(\
roleName='check box', \
name='Perform account list setup on new file'))
-
+
class OnlineBanking(Node):
def __init__(self, initializer):
@@ -1070,9 +1066,18 @@
self.invoke_list = ["Business", "Vendor", "New Vendor..."]
self.dialog_name = 'New Vendor'
+ def add_new_vendor (self, company_name=None, name=None, \
+ address_1=None, address_2=None, \
+ phone=None, fax=None, email=None, notes=None):
+ """ A wrapper for add_new_xxx """
+ NewXXX.add_new_XXX(self, company_name, name, \
+ address_1, address_2, \
+ phone, fax, email, notes)
+
def initialize(self):
NewXXX.initialize(self)
self.vendor = self.XXX(self.tab('Vendor'))
+ self.xxx = self.vendor
self.identification_panel = \
self.findChild(predicate.GenericPredicate(roleName='panel', name='Identification'))
self.identification_panel_element = \
@@ -1642,4 +1647,5 @@
if __name__ == '__main__':
""" This main Changes Frequently because it used to test most recent added widget """
config.childrenLimit = 1500
- # Edit the Invoice
+
+
More information about the gnucash-changes
mailing list