"Using the below code written in python, Generate Unit test cases
 
 from flask import Flask, jsonify, request, json
 from flask_cors import CORS, cross_origin
 from scrapper.pdfFileReader import PDFFileReader
 from scrapper.NAME_1 import NAME_1
 
 app = Flask(name)
 cors = CORS(app)
 app.config['CORS_HEADERS'] = 'Content-Type'
 
 @app.route('/', methods = ['GET'])
 @cross_origin()
 def home():
 print('get Called')
 
 
 return ""Hello Get""
 @app.route('/upload', methods = ['POST'])
 def upload():
 print(""upload called"")
 
 if 'file' not in request.files:
  resp = jsonify({'message' : 'No file part in the request'})
  resp.status_code = 400
  return resp
 
 
 file = request.files['file']
 
 scrapper = NAME_1(file, ""visitorManagement"")
 scrapper.generateEmbeddings()
 
 return ""1""
 print(name)
 
 app.run(debug = True, port=2001)"