Spaces:
Running
on
Zero
Running
on
Zero
import pytest | |
from src.services.user_service import UserService | |
def test_create_user(): | |
"""Tests user creation""" | |
user_service = UserService() | |
user = user_service.create_user("John Doe", "johndoe@example.com") | |
assert user.name == "John Doe" | |
assert user.email == "johndoe@example.com" |