Test framework reworked for
[tests.git] / system / step-check-nodes.py
1 import utils
2 from TestPlc import TestPlc
3 from TestSite import TestSite
4
5 # requirement is to implement
6 # run (plc_spec, options)
7
8 def run (test_plc,options):
9
10     result=True
11     for site_spec in test_plc.plc_spec['sites']:
12         utils.header('Checking nodes')
13         if not TestSite(test_plc,site_spec).check_nodes():
14             result=False
15     return result