

def test_account():
    client = mock.MagicMock()
    account = models.Account(client, 1, 2, storage_size=3456, guaranteed_cores=7, maximum_cores=8, created_at='created_at')
    assert (account.account_id == 1)
    assert (account.plan == 2)
    assert (account.storage_size == 3456)
    assert (client.guaranteed_cores == 7)
    assert (account.maximum_cores == 8)
    assert (account.created_at == 'created_at')

dataset/ETHPy150Open treasure-data/td-client-python/tdclient/test/account_model_test.py test_account/VarMisuse@75/89 `account`->`client`