refactor: return the campaign plan as lines

This commit is contained in:
Abdessamad Derraz committed 2026-11-22 02:26:45 +01:00
1 parent 04e1d2d3ab
commit ee404551a9
3 files changed
+16 -21

No files matched your search

-4
View File
@@ -1040,10 +1040,6 @@ class Findings(Workspace):
self.assertEqual(jobs.check_subject(subject), [], subject)
# A file someone had changed before the pass is left to them.
self.assertEqual(self.c.plan_commits({"emulators/fake.yml"})[1:], [])
out = io.StringIO()
with contextlib.redirect_stdout(out):
self.assertEqual(self.c.commit_batch(dry_run=True), [])
self.assertIn("would commit 'chore: add campaign measurements'", out.getvalue())
class ContentFile(Workspace):