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.
This commit is contained in:
Tim McCormack
2025-05-01 14:04:41 -04:00
committed by GitHub
parent 6366592dd0
commit 9ff24774e1

View File

@@ -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():