diff --git a/test/test_model.py b/test/test_model.py index d2c0e7e1f..ac41d35dc 100644 --- a/test/test_model.py +++ b/test/test_model.py @@ -969,8 +969,8 @@ def test_run_error(self): self.assertEqual(str(cm.exception), 'ERROR cannot get status\n') self.assertEqual(cm.exception.args[0], 'ERROR cannot get status\n') - @patch("pwd.getpwuid") @patch("grp.getgrgid") + @patch("pwd.getpwuid") def test_push_path_unnamed(self, getpwuid: MagicMock, getgrgid: MagicMock): getpwuid.side_effect = KeyError getgrgid.side_effect = KeyError