Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ducky64 committed Apr 30, 2024
1 parent c918dbc commit 2c5f249
Show file tree
Hide file tree
Showing 5 changed files with 1,698 additions and 1,068 deletions.
6 changes: 3 additions & 3 deletions electronics_abstract_parts/test_kicad_import_netlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ def test_netlist(self):
self.assertIn(NetBlock('Package_TO_SOT_SMD:SOT-23', 'U1',
# expected value is wonky because netlisting combines part and value
'Sensor_Temperature:MCP9700AT-ETT', 'MCP9700AT-ETT',
['dut', 'U1'], ['U1'],
['dut', 'U1'], ['dut', 'U1'],
['electronics_model.KiCadSchematicBlock.KiCadBlackbox']),
net.blocks)
self.assertIn(NetBlock('Symbol:Symbol_ESD-Logo_CopperTop', 'SYM1',
# expected value is wonky because netlisting combines part and value
'Graphic:SYM_ESD_Small', 'SYM_ESD_Small',
['dut', 'SYM1'], ['SYM1'],
['dut', 'SYM1'], ['dut', 'SYM1'],
['electronics_model.KiCadSchematicBlock.KiCadBlackbox']),
net.blocks)
self.assertIn(NetBlock('Resistor_SMD:R_0603_1608Metric', 'R1', '', '',
['dut', 'res'], ['res'],
['dut', 'res'], ['dut', 'res'],
['electronics_abstract_parts.test_kicad_import_netlist.DummyResistor']),
net.blocks)
Loading

0 comments on commit 2c5f249

Please sign in to comment.