@@ -183,25 +183,26 @@ def test_06c_auto_identify(self, aedtapp):
183183 assert len (aedtapp .nets ) == 0
184184 assert aedtapp .auto_identify_nets ()
185185 nets = aedtapp .nets
186+ assert "SignalNet" in aedtapp .nets_by_type
186187
187- net1 = aedtapp .design_excitations [nets [0 ]]
188- net2 = aedtapp .design_excitations [nets [1 ]]
188+ net1 = aedtapp .design_nets [nets [0 ]]
189+ net2 = aedtapp .design_nets [nets [1 ]]
189190
190191 new_net1 = aedtapp .toggle_net (net1 , "Floating" )
191192 assert new_net1 .type == "FloatingNet"
192- net1_1 = aedtapp .design_excitations [nets [0 ]]
193+ net1_1 = aedtapp .design_nets [nets [0 ]]
193194 assert net1_1 .type == "FloatingNet"
194- net1_2 = aedtapp .excitation_objects [nets [0 ]]
195+ net1_2 = aedtapp .design_nets [nets [0 ]]
195196 assert net1_2 .type == "FloatingNet"
196- assert "FloatingNet" in list (aedtapp .boundaries_by_type .keys ())
197+ assert "FloatingNet" in list (aedtapp .nets_by_type .keys ())
197198
198199 new_net2 = aedtapp .toggle_net (net2 .name , "Ground" )
199200 assert new_net2 .type == "GroundNet"
200- net2_1 = aedtapp .design_excitations [nets [1 ]]
201+ net2_1 = aedtapp .design_nets [nets [1 ]]
201202 assert net2_1 .type == "GroundNet"
202- net2_2 = aedtapp .excitation_objects [nets [1 ]]
203+ net2_2 = aedtapp .design_nets [nets [1 ]]
203204 assert net2_2 .type == "GroundNet"
204- assert "GroundNet" in list (aedtapp .boundaries_by_type .keys ())
205+ assert "GroundNet" in list (aedtapp .nets_by_type .keys ())
205206
206207 def test_07_create_source_sinks (self , aedtapp ):
207208 udp = aedtapp .modeler .Position (0 , 0 , 0 )
@@ -599,7 +600,8 @@ def test_toggle_net_with_sources(self, add_app):
599600 app .auto_identify_nets ()
600601 net = app .nets [0 ]
601602 assert len (app .excitation_objects ) == 3
602- assert "SignalNet" in app .excitations_by_type
603+ assert len (app .design_excitations ) == 3
604+ assert "SignalNet" in app .nets_by_type
603605 sources = app .net_sources (net )
604606 sinks = app .net_sinks (net )
605607
@@ -608,12 +610,12 @@ def test_toggle_net_with_sources(self, add_app):
608610
609611 new_net = app .toggle_net (net , "Ground" )
610612 assert new_net .type == "GroundNet"
611- assert len (app .excitation_objects ) == 1
612613 assert len (app .boundaries ) == 1
614+ assert len (app .nets ) == 1
613615 new_sources = app .net_sources (net )
614616 new_sinks = app .net_sinks (net )
615617
616618 assert len (sources ) != len (new_sources )
617619 assert len (sinks ) != len (new_sinks )
618- assert "GroundNet" in app .excitations_by_type
619- assert "SignalNet" not in app .excitations_by_type
620+ assert "GroundNet" in app .nets_by_type
621+ assert "SignalNet" not in app .nets_by_type
0 commit comments