Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
opaduchak committed Dec 2, 2024
1 parent 019c891 commit b009239
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions addon_imps/tests/storage/test_dropbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,13 @@ async def test_list_root_items(self):

expected_result = ItemSampleResult(
items=[
ItemResult(
item_id="123", item_name="root folder", item_type=ItemType.FOLDER
)
ItemResult(item_id="/", item_name="Root", item_type=ItemType.FOLDER)
],
total_count=1,
next_sample_cursor="test_cursor",
)

self.assertEqual(result, expected_result)
self._assert_post("files/list_folder", json={"path": "", "recursive": False})
self.network.POST.assert_not_called()

async def test_get_item_info(self):
cases = [("", "root folder"), ("file_id", "file")]
Expand Down

0 comments on commit b009239

Please sign in to comment.