From 855cff9b48a79a5ac8389379bbd290270ed87602 Mon Sep 17 00:00:00 2001 From: Yuhuai Liu Date: Mon, 30 Sep 2024 22:25:50 -0400 Subject: [PATCH] fix final test --- osf_tests/external/gravy_valet/gv_fakes.py | 2 +- osf_tests/test_gv_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osf_tests/external/gravy_valet/gv_fakes.py b/osf_tests/external/gravy_valet/gv_fakes.py index 82630bfc831..4d8c9e0963a 100644 --- a/osf_tests/external/gravy_valet/gv_fakes.py +++ b/osf_tests/external/gravy_valet/gv_fakes.py @@ -165,7 +165,7 @@ class _FakeAddon(_FakeGVEntity): resource_pk: int base_account: _FakeAccount display_name: str = '' - root_folder: str = '/' + root_folder: str = '0:1' def _serialize_attributes(self): return { diff --git a/osf_tests/test_gv_utils.py b/osf_tests/test_gv_utils.py index a8525a0ac61..c58469a3e0e 100644 --- a/osf_tests/test_gv_utils.py +++ b/osf_tests/test_gv_utils.py @@ -539,6 +539,6 @@ def test_make_ephemeral_node_settings(self, contributor, project, fake_box_addon assert ephemeral_config.gv_id == fake_box_addon.pk assert ephemeral_config.config.name == 'addons.box' assert ephemeral_config.serialize_waterbutler_settings() == { - 'folder': fake_box_addon.root_folder, + 'folder': fake_box_addon.root_folder.split(':')[1], 'service': 'box' }