2021-04-07 15:43:07 +02:00
|
|
|
import unittest
|
|
|
|
|
|
|
|
from participants.query_db import get_usernames
|
|
|
|
|
|
|
|
|
2021-05-07 12:44:34 +02:00
|
|
|
class ParticipantsQuery(unittest.TestCase):
|
2021-04-07 15:43:07 +02:00
|
|
|
def test_get_usernames(self):
|
|
|
|
usernames_from_db = get_usernames()
|
2021-05-07 12:44:34 +02:00
|
|
|
print(type(usernames_from_db))
|
2021-04-07 15:43:07 +02:00
|
|
|
self.assertIsNotNone(usernames_from_db)
|