MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / test_create_user

Function test_create_user

examples/pytest/test_example.py:7–10  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

5
6@pytest.mark.asyncio
7async def test_create_user(db):
8 user = await User.create(name="Alice")
9 assert user.id is not None
10 assert user.name == "Alice"
11
12
13@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…