From 86b8ab1d82c9a52b0ae4ca96c3d0096caf19fc5c Mon Sep 17 00:00:00 2001 From: saphid <4596216+saphid@users.noreply.github.com> Date: Tue, 29 Sep 2026 10:01:17 +1000 Subject: [PATCH] Assert the start-failure test reaches systemd-run Co-Authored-By: Claude Opus 5.5 (1M context) --- tests/test_media.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_media.py b/tests/test_media.py index 76c0d6d..86d5e3f 100644 --- a/tests/test_media.py +++ b/tests/test_media.py @@ -105,6 +105,7 @@ class Media(unittest.TestCase): with patch.object(remote, 'probe', return_value=({}, False)), \ self.assertRaisesRegex(RuntimeError, 'Unit already exists'): remote.run({'action': 'play', 'id': identity}) + self.assertEqual(run.call_args.args[0][0], 'systemd-run') # reset-failed's result is ignored def test_upload_rejects_unplayable_names_and_keeps_copy_error(self): with patch.object(server, 'ssh') as ssh, patch.object(server, 'push_file') as push: