Skip to content

Commit

Permalink
2.5.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrem committed Feb 29, 2024
1 parent 639007b commit f5c2655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="Office365-REST-Python-Client",
version="2.5.5",
version="2.5.6",
author="Vadim Gremyachev",
author_email="[email protected]",
maintainer="Konrad Gądek, Domenico Di Nicola",
Expand Down
10 changes: 4 additions & 6 deletions tests/outlook/test_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,12 @@ def test_5_get_my_messages(self):
self.assertIsNotNone(messages[0].resource_path)

def test_6_update_message(self):
# messages = self.client.me.messages.top(1).get().execute_query()
# message_to_update = messages[0]
message = self.__class__.target_message
message.update().execute_query()
message_to_update = self.__class__.target_message
message_to_update.body = "The new cafeteria is close."
message_to_update.update().execute_query()

def test_7_delete_message(self):
messages = self.client.me.messages.top(1).get().execute_query()
message_to_delete = messages[0]
message_to_delete = self.__class__.target_message
message_to_delete.delete_object().execute_query()

def test_8_create_draft_message_with_attachments(self):
Expand Down

0 comments on commit f5c2655

Please sign in to comment.