Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MemTensor/MemOS
/ setup_method
Method
setup_method
tests/plugins/test_plugin_demo.py:82–85 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
80
81
class
TestHookMechanism:
82
def
setup_method(self):
83
from
memos.plugins.hooks
import
_hooks
84
85
_hooks.clear()
86
87
def
test_register_and_trigger(self):
88
from
memos.plugins.hooks
import
register_hook, trigger_hook
Callers
nothing calls this directly
Calls
1
clear
Method · 0.65
Tested by
no test coverage detected