Spaces:
Sleeping
Sleeping
File size: 269 Bytes
164aab4 |
1 2 3 4 5 6 7 8 9 |
import pytest
from src.services.user_service import UserService
def test_get_all_users():
user_service = UserService()
users = user_service.get_all_users()
assert len(users) == 2
assert users[0].name == "John Doe"
assert users[1].name == "Jane Doe" |