Skip to content

Commit

Permalink
Benign test code change to trigger actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eeintech committed Mar 29, 2023
1 parent 1c9df8f commit 90e1e0c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,16 @@ def check_result(status: str, new_part: bool) -> bool:
kicad_result = False
inventree_result = False
# Fetch supplier data
supplier_info = inventree_interface.supplier_search(supplier='Digi-Key', part_number=number, test_mode=True)
supplier_info = inventree_interface.supplier_search(
supplier='Digi-Key',
part_number=number,
test_mode=True,
)
# Translate to form
part_info = inventree_interface.translate_supplier_to_form(supplier='Digi-Key', part_info=supplier_info)
part_info = inventree_interface.translate_supplier_to_form(
supplier='Digi-Key',
part_info=supplier_info,
)
# Stitch categories and parameters
part_info.update({
'category_tree': [supplier_info['category'], supplier_info['subcategory']],
Expand Down

0 comments on commit 90e1e0c

Please sign in to comment.