Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/liangliangyy/DjangoBlog
/ test_chat_gpt
Method
test_chat_gpt
servermanager/tests.py:19–21 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
17
self.factory = RequestFactory()
18
19
def
test_chat_gpt(self):
20
content = ChatGPT.chat(
"你好"
)
21
self.assertIsNotNone(content)
22
23
def
test_validate_comment(self):
24
user = BlogUser.objects.create_superuser(
Callers
nothing calls this directly
Calls
1
chat
Method · 0.80
Tested by
no test coverage detected