Should learn preferences from file.
(self)
| 244 | reset_learning_manager() |
| 245 | |
| 246 | def test_learn_from_file(self): |
| 247 | """Should learn preferences from file.""" |
| 248 | lm = LearningManager() |
| 249 | result = lm.learn_from_file("test.py", "import pytest\ndef test_x(): pass") |
| 250 | assert result.get("test_framework") == "pytest" |
| 251 | |
| 252 | def test_record_error_and_fix(self): |
| 253 | """Should record error and fix.""" |
nothing calls this directly
no test coverage detected