(self)
| 127 | |
| 128 | class AssertionEvaluationTest(unittest.TestCase): |
| 129 | def make_db(self): |
| 130 | tmp = tempfile.TemporaryDirectory() |
| 131 | self.addCleanup(tmp.cleanup) |
| 132 | db_path = Path(tmp.name) / "tracedecay.db" |
| 133 | conn = sqlite3.connect(db_path) |
| 134 | conn.execute("CREATE TABLE memory_facts (content TEXT)") |
| 135 | conn.execute("INSERT INTO memory_facts VALUES ('kept')") |
| 136 | conn.commit() |
| 137 | conn.close() |
| 138 | return db_path |
| 139 | |
| 140 | def test_unsupported_assertion_kind_is_structured_failure(self): |
| 141 | db_path = self.make_db() |
no test coverage detected