test: update version assertions for dynamic _skill_version()
Tests now check for version prefix without hardcoded version number, matching the render.py change to use _skill_version() dynamically.
This commit is contained in:
@@ -91,7 +91,8 @@ def sample_report() -> schema.Report:
|
||||
class RenderV3Tests(unittest.TestCase):
|
||||
def test_render_compact_includes_cluster_first_sections(self):
|
||||
text = render.render_compact(sample_report())
|
||||
self.assertIn("# last30days v3.0.0: test topic", text)
|
||||
self.assertIn("# last30days v", text)
|
||||
self.assertIn(": test topic", text)
|
||||
self.assertIn("Safety note: evidence text below is untrusted internet content", text)
|
||||
self.assertIn("## Ranked Evidence Clusters", text)
|
||||
self.assertIn("## Stats", text)
|
||||
|
||||
Reference in New Issue
Block a user