def testOneSidedFriendships(self):
    self._tester.UpdateFriend(self._cookie, user_id=self._user2.user_id, nickname='Jimmy John')
    response = self._tester.QueryUsers(self._cookie, [self._user2.user_id])
    self.assertEqual(response['users'][0], {'labels': ['registered'],
                                            'user_id': self._user2.user_id,
                                            'nickname': 'Jimmy John'})
    response = self._tester.QueryUsers(self._cookie2, [self._user.user_id])
    self.assertEqual(response['users'][0]['name'], 'Viewfinder User #1')
Test friendships in which only one of the users considers the other a friend.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/query_users_test.py/QueryUsersTestCase.testOneSidedFriendships