Skip to content

Commit

Permalink
CHORE: 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 Jan 30, 2025
1 parent 21c82c3 commit ea88df1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions tests/system/general/test_11_Setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def test_01_create_hfss_setup(self):
max_delta_phase=8,
custom_entries=[["1", "2", 0.03, 4]],
)
setup2 = self.aedtapp.create_setup("MulitFreqSetup",
MultipleAdaptiveFreqsSetup=["1GHz", "2GHz"],
MaximumPasses=3)
setup2 = self.aedtapp.create_setup(
"MulitFreqSetup", MultipleAdaptiveFreqsSetup=["1GHz", "2GHz"], MaximumPasses=3
)
assert setup2.props["SolveType"] == "MultiFrequency"
assert setup2.props["MaximumPasses"] == 3

Expand All @@ -129,8 +129,14 @@ def test_01b_create_hfss_sweep(self):
range_start = "1GHz"
range_end = "2GHz"
range_step = "0.5GHz"
sweep5 = setup1.add_sweep("DiscSweep5", sweep_type="Discrete", RangeStart=range_start,
RangeEnd=range_end, RangeStep=range_step, SaveFields=True)
sweep5 = setup1.add_sweep(
"DiscSweep5",
sweep_type="Discrete",
RangeStart=range_start,
RangeEnd=range_end,
RangeStep=range_step,
SaveFields=True,
)
assert sweep5.props["Type"] == "Discrete"
assert sweep5.props["RangeStart"] == range_start
assert sweep5.props["RangeEnd"] == range_end
Expand Down

0 comments on commit ea88df1

Please sign in to comment.