diff --git a/tests/test_install.py b/tests/test_install.py index 43d3a31c7..06ec275ef 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -4894,7 +4894,7 @@ class TheEmulatorNamesHaveTheirOwnListing(unittest.TestCase, _LoopbackRun): def test_the_hint_counts_what_the_listing_prints(self): proc = _install_run(self.env, "--platform", "retroarch", "--no-input", "--emulator", "nope") - self.assertEqual(proc.returncode, 1, proc.stdout) + self.assertEqual(proc.returncode, 2, proc.stdout) found = re.search(r"--list-emulators lists all (\d+)\.", proc.stderr) self.assertIsNotNone(found, proc.stderr) listing = _install_run(self.env, "--platform", "retroarch", "--no-input", diff --git a/tests/test_install_cores.py b/tests/test_install_cores.py index c0c057470..e379dde6d 100644 --- a/tests/test_install_cores.py +++ b/tests/test_install_cores.py @@ -415,7 +415,7 @@ class AnUnknownTargetStopsTheRunFirst(unittest.TestCase): contextlib.redirect_stderr(io.StringIO()) as err: with self.assertRaises(SystemExit) as stop: install.main() - self.assertEqual(stop.exception.code, 1) + self.assertEqual(stop.exception.code, 2) self.assertIn("unknown target 'steamos' for RetroArch", err.getvalue()) self.assertIn("Nothing was installed", err.getvalue()) fetch.assert_not_called()