diff --git a/scraper/src/tests/typesense_helper/commit_tmp_test.py b/scraper/src/tests/typesense_helper/commit_tmp_test.py index ba699ba..9061dbd 100644 --- a/scraper/src/tests/typesense_helper/commit_tmp_test.py +++ b/scraper/src/tests/typesense_helper/commit_tmp_test.py @@ -307,6 +307,15 @@ def test_transform_record(): 'lvl5': None, 'lvl6': None, }, + 'hierarchy_radio': { + 'lvl0': None, + 'lvl1': None, + 'lvl2': 'Electronics', + 'lvl3': None, + 'lvl4': None, + 'lvl5': None, + 'lvl6': None, + }, 'version': '1.0,2.0', 'extra_field': None, } @@ -317,6 +326,7 @@ def test_transform_record(): 'hierarchy.lvl0': 'Home', 'hierarchy.lvl1': 'Products', 'hierarchy.lvl2': 'Electronics', + 'hierarchy_radio.lvl2': 'Electronics', 'version': ['1.0', '2.0'], 'hierarchy': { 'lvl0': 'Home', @@ -327,6 +337,15 @@ def test_transform_record(): 'lvl5': None, 'lvl6': None, }, + 'hierarchy_radio': { + 'lvl0': None, + 'lvl1': None, + 'lvl2': 'Electronics', + 'lvl3': None, + 'lvl4': None, + 'lvl5': None, + 'lvl6': None, + }, } # Act