Skip to content

Commit

Permalink
Fix additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
nascosto committed Oct 30, 2024
1 parent 15a5007 commit 8f410b3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions scraper/src/tests/typesense_helper/commit_tmp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand All @@ -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',
Expand All @@ -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
Expand Down

0 comments on commit 8f410b3

Please sign in to comment.