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: