def setUp(self): super(ApiGetFileTextHandlerTest, self).setUp() self.handler = vfs_plugin.ApiGetFileTextHandler() self.client_id = self.SetupClient(0) self.file_path = "fs/os/c/Downloads/a.txt" self.CreateFileVersions(self.client_id, self.file_path)
def GetFileText(self, args, token=None): return api_vfs.ApiGetFileTextHandler()