Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tortoise/tortoise-orm
/ test_empty
Function
test_empty
tests/fields/test_uuid.py:10–12 ·
view source on GitHub ↗
(db)
Source
from the content-addressed store, hash-verified
8
9
@pytest.mark.asyncio
10
async
def
test_empty(db):
11
with
pytest.raises(IntegrityError):
12
await testmodels.UUIDFields.create()
13
14
15
@pytest.mark.asyncio
Callers
nothing calls this directly
Calls
1
create
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…