Tests
- Improved directory structure - Added functional and unit tests
This commit is contained in:
14
api/tests/unit/test_auth.py
Normal file
14
api/tests/unit/test_auth.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
This file (test_helper_functions.py) contains the unit tests for the helper_functions.py file.
|
||||
"""
|
||||
import datetime
|
||||
|
||||
import jwt
|
||||
from app.auth import *
|
||||
|
||||
|
||||
def test_verify_token():
|
||||
"""
|
||||
Test verify_token function
|
||||
"""
|
||||
assert verify_token(None) is False
|
Reference in New Issue
Block a user