Skip to content

Commit

Permalink
remove irrelevant test
Browse files Browse the repository at this point in the history
  • Loading branch information
weiliangjin2021 committed Feb 21, 2025
1 parent 3ff878b commit a685116
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/test_plugins/smatrix/test_terminal_component_modeler.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,12 @@ def test_port_snapping(tmp_path):
check_lumped_port_components_snapped_correctly(modeler=modeler)


def test_coarse_grid_at_port(monkeypatch, tmp_path):
modeler = make_component_modeler(planar_pec=True, path_dir=str(tmp_path), port_refinement=False)
# Without port refinement the grid is much too coarse for these port sizes
with pytest.raises(SetupError):
_ = run_component_modeler(monkeypatch, modeler)
# this test is not applicable now because we add snapping points along voltage axis
# def test_coarse_grid_at_port(monkeypatch, tmp_path):
# modeler = make_component_modeler(planar_pec=True, path_dir=str(tmp_path), port_refinement=False)
# # Without port refinement the grid is much too coarse for these port sizes
# with pytest.raises(SetupError):
# _ = run_component_modeler(monkeypatch, modeler)


def test_validate_port_voltage_axis():
Expand Down

0 comments on commit a685116

Please sign in to comment.