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'])
Test the no_password field in the user's private section.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/query_users_test.py/QueryUsersTestCase.testNoPassword