From 9ff24774e17795fa229f3593dbd1835f3f2178e1 Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Thu, 1 May 2025 14:04:41 -0400 Subject: [PATCH] test: Allow locale path test to pass when repo dir name different (#36648) This test assumes edx-platform is checked out in a directory of that name. --- xmodule/modulestore/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmodule/modulestore/tests/test_api.py b/xmodule/modulestore/tests/test_api.py index 4e665c9eec..03dd79d4ff 100644 --- a/xmodule/modulestore/tests/test_api.py +++ b/xmodule/modulestore/tests/test_api.py @@ -57,7 +57,7 @@ def test_file_paths_api(): Test the `get_python_locale_root` returned path. """ root = get_python_locale_root() - assert root.endswith('edx-platform/conf/plugins-locale/xblock.v1'), 'Needs to match Makefile and other code' + assert root.endswith('/conf/plugins-locale/xblock.v1'), 'Needs to match Makefile and other code' def test_get_javascript_i18n_file_name():