details: http://www.bx.psu.edu/hg/galaxy/rev/8b4e25dc5d08 changeset: 3268:8b4e25dc5d08 user: jeremy goecks <jeremy.goecks@emory.edu> date: Mon Jan 25 13:05:41 2010 -0500 description: Fix functional tests for postgres by explicitly setting username for created users. diffstat: test/base/twilltestcase.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diffs (13 lines): diff -r 217da764cd50 -r 8b4e25dc5d08 test/base/twilltestcase.py --- a/test/base/twilltestcase.py Mon Jan 25 12:45:55 2010 -0500 +++ b/test/base/twilltestcase.py Mon Jan 25 13:05:41 2010 -0500 @@ -608,7 +608,8 @@ # Functions associated with user accounts def create( self, email='test@bx.psu.edu', password='testuser' ): self.home() - self.visit_page( "user/create?email=%s&password=%s&confirm=%s&create_user_button=Submit" % ( email, password, password ) ) + # Create user, setting username to email. + self.visit_page( "user/create?email=%s&username=%s&password=%s&confirm=%s&create_user_button=Submit" % ( email, email, password, password ) ) self.check_page_for_string( "Now logged in as %s" %email ) self.home() # Make sure a new private role was created for the user