Spaces:
Sleeping
Sleeping
File size: 378 Bytes
df50319 |
1 2 3 4 5 6 7 8 9 |
from src.models.account import Account
from src.repositories.account_repository import AccountRepository
from src.services.account_service import AccountService
def test_create_account():
account_repository = AccountRepository()
account_service = AccountService(account_repository)
account = account_service.create_account(1)
assert isinstance(account, Account) |