def test_user(self):
        display_name = (time.time()) % u'tester %s'
        user, meta = self.api.get_user('me')
        self.assertEquals(self.username, user.username)
        old_name = user.name
        user.name = display_name
        cwd = os.path.dirname(__file__)
        del user.description['entities']
        user, meta = self.api.update_user('me', data=user)
        self.assertEquals(display_name, user.name)

        user, meta = self.api.patch_user('me', data={'name': old_name})
        self.assertEquals(old_name, user.name)

        users, meta = self.api.get_users(ids='1,2,3')
        self.assertEquals(len(users), 3)

        # XXX: Need to figure out how I can record, and replay these calls, but they work

        with open(cwd + '/data/avatar.png') as avatar:
            user, meta = self.api.update_avatar('me', files={'avatar': avatar})

        with open(cwd + '/data/cover.png') as cover:
            user, meta = self.api.update_cover('me', files={'cover': cover})

        user, meta = self.api.follow_user(3)
        user, meta = self.api.unfollow_user(3)

        user, meta = self.api.mute_user(3)
        user, meta = self.api.unmute_user(3)

        user, meta = self.api.block_user(3)
        user, meta = self.api.unblock_user(3)

        users, meta = self.api.user_search(q='@voidfiles')

        users, meta = self.api.users_following(3)
        users, meta = self.api.users_followers(3)

        users, meta = self.api.users_following_ids(3)
        users, meta = self.api.users_followers_ids(3)

        users, meta = self.api.users_muted_users('me')
        users, meta = self.api.users_muted_users_ids('me')

        users, meta = self.api.users_blocked_users('me')

        # Add in testing for app access tokens
        #users, meta = self.api.users_blocked_user_ids('me')

        users, meta = self.api.users_reposted_post(1)
        users, meta = self.api.users_starred_post(1)
dataset/ETHPy150Open appdotnet/ADNpy/tests/test_api.py/AdnpyAPITests.test_user/swapped operands of `%`