Coverage for app/controllers/__init__.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-09-13 18:43 +0000

1from app import app 

2import os 

3#from app.login_manager import require_login 

4 

5 

6#@app.context_processor 

7#def injectGlobalData(): 

8 #currentUser = require_login() 

9 #lastStaticUpdate = str(max(os.path.getmtime(os.path.join(root_path, f)) 

10 # for root_path, dirs, files in os.walk('app/static') 

11 # for f in files)) 

12 #return {'currentUser': currentUser, 

13 # 'lastStaticUpdate': lastStaticUpdate}