File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,16 @@ def update_last_request_time(current_app):
3232 LAST_REQUEST_TIME = time .time ()
3333 current_app .config .update (LAST_REQUEST_TIME = LAST_REQUEST_TIME )
3434
35+
3536def before_request (current_app ):
3637 increment_request_counter (current_app )
3738
39+
3840def teardown_request (current_app ):
3941 decrement_request_counter (current_app )
4042 update_last_request_time (current_app )
4143
44+
4245def kill_task (current_app ):
4346 DESKTOP_APP = bool (current_app .config .get ("DESKTOP_APP" ))
4447 REQUEST_COUNTER = int (current_app .config .get ("REQUEST_COUNTER" ))
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ def test_teardown_request(app_context):
3434 assert flask .current_app .config .get ("LAST_REQUEST_TIME" ) >= LAST_REQUEST_TIME
3535
3636
37-
3837def test_versions ():
3938 list_packages = [
4039 "OpenGeode-core" ,
You can’t perform that action at this time.
0 commit comments