MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / test_record_error

Method test_record_error

tests/test_learning.py:133–137  ·  view source on GitHub ↗

Should record error occurrence.

(self)

Source from the content-addressed store, hash-verified

131 reset_error_database()
132
133 def test_record_error(self):
134 """Should record error occurrence."""
135 db = ErrorDatabase()
136 key = db.record_error("ModuleNotFoundError", "No module named 'flask'")
137 assert key is not None
138
139 def test_record_fix(self):
140 """Should record fix for error."""

Callers

nothing calls this directly

Calls 2

record_errorMethod · 0.95
ErrorDatabaseClass · 0.90

Tested by

no test coverage detected