diff --git a/fHDHR_web/api/__init__.py b/fHDHR_web/api/__init__.py index 46646cf..58d17fe 100644 --- a/fHDHR_web/api/__init__.py +++ b/fHDHR_web/api/__init__.py @@ -13,8 +13,6 @@ from .debug import Debug_JSON from .images import Images -from .test import Test - class fHDHR_API(): @@ -34,5 +32,3 @@ class fHDHR_API(): self.debug = Debug_JSON(fhdhr) self.images = Images(fhdhr) - - self.test = Test(fhdhr) diff --git a/fHDHR_web/api/test.py b/fHDHR_web/api/test.py deleted file mode 100644 index c99b96c..0000000 --- a/fHDHR_web/api/test.py +++ /dev/null @@ -1,21 +0,0 @@ -from flask import request, redirect, Response, abort -import urllib.parse -import json - - -class Test(): - endpoints = ["/test"] - endpoint_name = "test" - endpoint_methods = ["GET", "POST"] - - def __init__(self, fhdhr): - self.fhdhr = fhdhr - - def __call__(self, *args): - return self.get(*args) - - def get(self, *args): - - print("here I am ") - - return "Success"