Spaces:
Running
on
Zero
Running
on
Zero
import pytest | |
from app.models import User | |
def test_user_model(): | |
user = User(name='John Doe', email='johndoe@example.com') | |
assert user.name == 'John Doe' | |
assert user.email == 'johndoe@example.com' |