self.assertEqual(self.auth.login_bare(username='user1', password='password_123')['username'], 'user1')
self.assertEqual(self.db(self.db.auth_user.username == 'user1').select().first()['id'], 1)
You are truncating the auth_user table in the previous test, you need to insert the user again.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.