From: Kevin C. <ke...@us...> - 2006-03-06 16:17:32
|
Update of /cvsroot/mailmanager/MailManager/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11342/tests Modified Files: testGetMail.py Log Message: Fixed hardcoding of postgres Index: testGetMail.py =================================================================== RCS file: /cvsroot/mailmanager/MailManager/tests/testGetMail.py,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- testGetMail.py 6 Mar 2006 10:29:09 -0000 1.13 +++ testGetMail.py 6 Mar 2006 16:17:27 -0000 1.14 @@ -561,16 +561,15 @@ class TestGetMail(getMailTest): - def testPostgres(self): - if 'postgres' in self.config['databases']['supported_databases']: - self.dbplatform = 'postgres' - self.setupMailManager(dbplatform = self.dbplatform, debugmode=True) + def testGetMail(self): + self.dbplatform = self.config['databases']['primary_database'] + self.setupMailManager(dbplatform = self.dbplatform, debugmode=True) - self.mmobj.populateAccounts('mailtests') + self.mmobj.populateAccounts('mailtests') - self.setupFlowchart() - self.incomingMailTests() - #self.removeMailManager() + self.setupFlowchart() + self.incomingMailTests() + #self.removeMailManager() ########################################################################### |