def testNoPassword(self):
    response_dict = self._tester.QueryUsers(self._cookie, [self._user.user_id])
    self.assertEqual(response_dict['users'][0]['private']['no_password'], True)

    self._tester.UpdateUser(self._cookie, password='supersecure')
    response_dict = self._tester.QueryUsers(self._cookie, [self._user.user_id])
    self.assertNotIn('no_password', response_dict['users'][0]['private'])
Called just before the view is saved.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/query_users_test.py/QueryUsersTestCase.testNoPassword--crossover with--dataset/ETHPy150Open lifted-studios/AutoCopyright/AutoCopyrightEventListener.py/AutoCopyrightEventListener.on_pre_save