Example #1
0
 def setup(self):
     self.nw = nwk.network(['water', 'air'])
     self.comp = cmp.cogeneration_unit('cogeneration unit')
     self.pipe = cmp.pipe('pipe')
     self.conn = con.connection(self.comp, 'out1', self.pipe, 'in1')
     self.bus = con.bus('mybus')
     self.sub = subsys.subsystem('MySub')
Example #2
0
def test_subsys_label_forbidden():
    subsys.subsystem('label;')
Example #3
0
def test_subsys_label_str():
    subsys.subsystem(5)