Skip to content

Commit

Permalink
Fix parameter order.
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Hoyt <[email protected]>
  • Loading branch information
tonyandrewmeyer and benhoyt authored Nov 29, 2023
1 parent aacee63 commit a8b1642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b1642

Please sign in to comment.