________________________ DBTest.test_can_add_diff_users ________________________
self = <webforces.server.tests.DBTest testMethod=test_can_add_diff_users>
def test_can_add_diff_users(self):
user1 = User(0, "LOGIN_USER1", "FN_USER1", "SN_USER1", "MN_USER1", [])
user2 = User(0, "LOGIN_USER2", "FN_USER2", "SN_USER2", "MN_USER2", [])
status1, user1 = self.core.db.addUser(user1)
status2, user2 = self.core.db.addUser(user2)
self.assertEqual(status1, DBStatus.s_ok)
self.assertEqual(status2, DBStatus.s_ok)
> self.assertEqual(user1.user_id, 1)
E AssertionError: 3 != 1
webforces/server/tests.py:30: AssertionError
----------------------------- Captured stderr call -----------------------------