Compare commits

...

4 commits

Author SHA1 Message Date
5c9b5fa56d comments that say what I have to do 2023-07-29 00:15:09 +02:00
26966a34d2 deleted unused imports 2023-07-29 00:10:45 +02:00
a63acf2026 deleted unused imports 2023-07-29 00:09:42 +02:00
9f756c2469 deleted unused vars 2023-07-29 00:04:46 +02:00
2 changed files with 5 additions and 9 deletions

View file

@ -1,6 +1,5 @@
from calendar import c
import queue, sqlite3, time, atexit, sys, uuid, json, urllib.parse, logging, datetime, os
from flask import Flask, render_template, request, make_response, session, url_for, g, Blueprint
import queue, time, uuid, json, logging, datetime, os
from flask import Flask, render_template, request, make_response, session, url_for, g
from flask_socketio import SocketIO, join_room, leave_room
from flask_session import Session
from markupsafe import escape
@ -9,7 +8,6 @@ from .db import get_db
#flask_config
DATABASE = 'Website/mate.db'
bp = Blueprint('auth', __name__, url_prefix='/auth')
def create_logs(app):
now = datetime.datetime.now().strftime('%d-%m-%Y-%H-%M-%S')
@ -44,11 +42,9 @@ def create_app(test_config=None):
# if db is not None:
# db.close()
# app.logger.info("Website exited")
#var
status = True
users = queue.Queue()
finished = None
message = None
#website
@app.route('/favicon.ico')

View file

@ -3,6 +3,7 @@ from urllib import response
from Website import create_app
import json
import pdb
import Website
from Website.db import get_db
from .test_conf import client, app
@ -44,8 +45,7 @@ def test_addtag_userid_nan(client):
def test_addtag(app, client):
response_addtag = client.get('/addtag?id=1')
with app.app_context():
None
#hier muss der userque was hinzugefügt werden!
response_tagid = client.get('/api/tag_id?id=12345678')
#/api