I want to use this test routine , but I also want to use production data.
What would I do to comment out certain lines, or would I ???
if __name__ == "__main__":
from FrmRecipes import FrmRecipes
app = dabo.dApp(MainFormClass=None)
app.setup()
class TestForm(FrmRecipes):
def afterInit(self): pass
frm = TestForm(Caption="Test Of PagEditRecipes", Testing=True)
test = frm.addObject(PagEditRecipes)
test.createItems()
frm.Sizer.append1x(test)
frm.show()
app.start()
--
View this message in context:
http://old.nabble.com/How-to-use-testForm-Class--tp28212916p28212916.html
Sent from the dabo-users mailing list archive at Nabble.com.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]