diff --git a/tests/test_z_problem.py b/tests/test_z_problem.py index 36c1fe3..d82dd1e 100644 --- a/tests/test_z_problem.py +++ b/tests/test_z_problem.py @@ -62,7 +62,7 @@ def test_argparse(mock_start): @patch("subprocess.run") -@patch("platform.system.lower") +@patch("platform.system") @patch("platform.machine") @patch("os.execv") def test_createcert(mock_run, mock_platform, mock_machine, mock_exec):