Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 26, 2024
1 parent 0f34d79 commit 0d7da27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions _unittest/test_21_Circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ def test_19b_create_eye_setups(self):
assert self.aedtapp.create_setup(setup_name, "NexximAMI")

@pytest.mark.skipif(
is_linux and config["desktopVersion"] == "2024.1", reason="Project with multiple circuit designs is not working."
is_linux and config["desktopVersion"] == "2024.1",
reason="Project with multiple circuit designs is not working.",
)
def test_20a_create_ami_plots(self, add_app):
ami_design = add_app(ami_project, design_name="Models Init Only", application=Circuit, subfolder=test_subfolder)
Expand Down Expand Up @@ -855,7 +856,9 @@ def test_47_automatic_lna(self):
)
assert status

@pytest.mark.skipif(config["NonGraphical"] and is_linux, reason="Method is not working in Linux and non-graphical mode.")
@pytest.mark.skipif(
config["NonGraphical"] and is_linux, reason="Method is not working in Linux and non-graphical mode."
)
def test_48_automatic_tdr(self):
touchstone_file = os.path.join(local_path, "example_models", test_subfolder, touchstone_custom)

Expand Down
4 changes: 3 additions & 1 deletion _unittest/test_28_Maxwell3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,9 @@ def test_53_assign_layout_force(self, layout_comp):
nets_layers = {"1V0": "Bottom Solder"}
assert layout_comp.assign_layout_force(nets_layers, "LC1_1")

@pytest.mark.skipif(desktop_version < "2023.2" or is_linux, reason="Method is available in beta in 2023.2 and later.")
@pytest.mark.skipif(
desktop_version < "2023.2" or is_linux, reason="Method is available in beta in 2023.2 and later."
)
@pytest.mark.skipif(is_linux, reason="EDB object is not loaded.")
def test_54_enable_harmonic_force_layout(self, layout_comp):
comp = layout_comp.modeler.user_defined_components["LC1_1"]
Expand Down

0 comments on commit 0d7da27

Please sign in to comment.