moving repository to gitea
This commit is contained in:
10
webapp/tests/db_test.py
Normal file
10
webapp/tests/db_test.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# tests/db_test.py
|
||||
# Simple test for the list_users database function
|
||||
import pytest
|
||||
from database import list_users
|
||||
|
||||
def test_list_users():
|
||||
users = list_users()
|
||||
assert isinstance(users, list)
|
||||
# Optionally, check for a known user if you have one, e.g.:
|
||||
# assert 'ADMIN' in users
|
||||
Reference in New Issue
Block a user