Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/6809.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test_configure_layout.py
4 changes: 1 addition & 3 deletions tests/system/extensions/test_configure_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
from ansys.aedt.core.extensions.hfss3dlayout.resources.configure_layout.master_ui import GUIDE_LINK
from ansys.aedt.core.extensions.hfss3dlayout.resources.configure_layout.master_ui import INTRO_LINK
from ansys.aedt.core.extensions.hfss3dlayout.resources.configure_layout.master_ui import ConfigureLayoutExtension
from ansys.aedt.core.extensions.hfss3dlayout.resources.configure_layout.template import SERDES_CONFIG
from ansys.aedt.core.internal.filesystem import Scratch


Expand Down Expand Up @@ -100,7 +99,6 @@ def test_get_active_db(extension_under_test, test_folder, add_app):
app.close_project(app.project_name)


@pytest.mark.flaky_linux
@patch(
"ansys.aedt.core.extensions.hfss3dlayout.configure_layout.ConfigureLayoutExtension.selected_edb",
new_callable=PropertyMock,
Expand All @@ -109,7 +107,7 @@ def test_apply_config_to_edb(mock_selected_edb, test_folder, extension_under_tes
mock_selected_edb.return_value = test_folder.copy_si_verse()
config_path = test_folder.path / "config.json"
with open(config_path, "w", encoding="utf-8") as f:
json.dump(SERDES_CONFIG, f, ensure_ascii=False, indent=4)
json.dump({}, f, ensure_ascii=False, indent=4)
assert extension_under_test.apply_config_to_edb(config_path)


Expand Down
Loading