Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahalev/python-microgrid
/ test_reset_after_run
Method
test_reset_after_run
tests/control/test_rbc.py:38–41 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
36
return
rbc
37
38
def
test_reset_after_run(self):
39
rbc = self.test_run_once()
40
rbc.reset()
41
self.assertEqual(len(rbc.microgrid.log), 0)
Callers
nothing calls this directly
Calls
3
test_run_once
Method · 0.95
assertEqual
Method · 0.80
reset
Method · 0.45
Tested by
no test coverage detected