Skip to content

Commit

Permalink
tests: fix PFError exception test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed Jan 25, 2023
1 parent bd94bc5 commit 9709679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_vshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_log(self):
def test_pferror_class(self):
"""Tests the PFError exception class."""
with self.assertRaises(pfsense_vshell.PFError):
raise pfsense_vshell.PFError
raise pfsense_vshell.PFError(1, "Test error message")


if __name__ == '__main__':
Expand Down

0 comments on commit 9709679

Please sign in to comment.