Skip to content

Commit 710f344

Browse files
committed
fix tests
1 parent f59ea66 commit 710f344

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_unittest/test_20_HFSS.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def test_06d_create_single_point_sweep(self):
368368

369369
def test_06e_delete_setup(self):
370370
setup_name = "SetupToDelete"
371-
setuptd = self.aedtapp.create_setup(name=setup_name)
371+
setuptd = self.aedtapp.create_setup(setupname=setup_name)
372372
assert setuptd.name in self.aedtapp.existing_analysis_setups
373373
assert self.aedtapp.delete_setup(setup_name)
374374
assert setuptd.name not in self.aedtapp.existing_analysis_setups
@@ -386,7 +386,7 @@ def test_06f_sweep_add_subrange(self):
386386
name="WaveForSweep",
387387
renormalize=False,
388388
)
389-
setup = self.aedtapp.create_setup(name="MySetupForSweep")
389+
setup = self.aedtapp.create_setup(setupname="MySetupForSweep")
390390
assert not setup.get_sweep()
391391
sweep = setup.add_sweep()
392392
sweep1 = setup.get_sweep(sweep.name)
@@ -413,7 +413,7 @@ def test_06g_sweep_clear_subrange(self):
413413
renormalize=False,
414414
)
415415

416-
setup = self.aedtapp.create_setup(name="MySetupClearSweep")
416+
setup = self.aedtapp.create_setup(setupname="MySetupClearSweep")
417417
sweep = setup.add_sweep()
418418
assert sweep.add_subrange("LinearCount", 1.1, 3.6, 10, "GHz", clear=True)
419419
assert sweep.props["RangeType"] == "LinearCount"

0 commit comments

Comments
 (0)