Skip to content

Commit

Permalink
fix: Make a response in the tests a MISPUser obj
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jun 21, 2024
1 parent 0ffdca1 commit 391fe58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testlive_comprehensive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2716,7 +2716,7 @@ def test_user_settings(self) -> None:
# # Enable autoalert on admin
self.admin_misp_connector._current_user.autoalert = True
self.admin_misp_connector._current_user.termsaccepted = True
admin_usr = self.admin_misp_connector.update_user(self.admin_misp_connector._current_user)
admin_usr = self.admin_misp_connector.update_user(self.admin_misp_connector._current_user, pythonify=True)
self.assertTrue(admin_usr.autoalert)

first = self.admin_misp_connector.add_event(first, pythonify=True)
Expand Down

0 comments on commit 391fe58

Please sign in to comment.