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", "[email protected]") | |
assert user.name == "John Doe" | |
assert user.email == "[email protected]" |