def METHOD_NAME(self):
    self.login_as(self.user)
    self.test_filepath ='/test_file.txt'
    self.test_folderpath = '/test_folder'
    self.test_parentpath = '/'
    self.test_filename = 'test_file.txt'
    self.test_folder_name = 'test_folder'
    self.new_repo = seafile_api.get_repo(self.create_repo(
        name='test-repo', desc='', username=self.user.username,
        passwd=None))
    self.endpoint = reverse('api-v2.1-filetags-view', args=[self.new_repo.id])
    self._endpoint = reverse('api-v2.1-filetag-view', args=[self.new_repo.id, 'test_tagname'])
    self.test_file = self.create_file( repo_id=self.new_repo.id,
            parent_dir=self.test_parentpath, filename=self.test_filename,
            username=self.user.username
            )
    self.test_folder = self.create_folder(repo_id = self.new_repo.id,
            parent_dir=self.test_parentpath, dirname=self.test_folder_name,
            username=self.user.username)