Skip to content

Commit cb742e4

Browse files
committed
test(codex): format sharing tests
1 parent e457970 commit cb742e4

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

tests/platform_integrations/test_codex_sharing.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,7 @@ def test_sync_no_subscriptions_exits_cleanly(self, temp_project_dir):
376376
def test_sync_skips_invalid_subscription_name(self, temp_project_dir):
377377
evolve_dir = temp_project_dir / ".evolve"
378378
(temp_project_dir / "evolve.config.yaml").write_text(
379-
'subscriptions:\n'
380-
' - name: "."\n'
381-
' remote: "https://example.com/repo.git"\n'
382-
' branch: "main"\n'
379+
'subscriptions:\n - name: "."\n remote: "https://example.com/repo.git"\n branch: "main"\n'
383380
)
384381

385382
result = run_script(
@@ -402,10 +399,7 @@ def test_manual_sync_runs_even_when_on_session_start_is_false(self, temp_project
402399
evolve_dir=evolve_dir,
403400
)
404401
(temp_project_dir / "evolve.config.yaml").write_text(
405-
'subscriptions:\n'
406-
f' - name: "alice"\n remote: "{local_repo["bare"]}"\n branch: "main"\n'
407-
'sync:\n'
408-
' on_session_start: false\n'
402+
f'subscriptions:\n - name: "alice"\n remote: "{local_repo["bare"]}"\n branch: "main"\nsync:\n on_session_start: false\n'
409403
)
410404

411405
result = run_script(
@@ -427,10 +421,7 @@ def test_session_start_sync_respects_on_session_start_false(self, temp_project_d
427421
evolve_dir=evolve_dir,
428422
)
429423
(temp_project_dir / "evolve.config.yaml").write_text(
430-
'subscriptions:\n'
431-
f' - name: "alice"\n remote: "{local_repo["bare"]}"\n branch: "main"\n'
432-
'sync:\n'
433-
' on_session_start: false\n'
424+
f'subscriptions:\n - name: "alice"\n remote: "{local_repo["bare"]}"\n branch: "main"\nsync:\n on_session_start: false\n'
434425
)
435426

436427
result = run_script(

0 commit comments

Comments
 (0)