summaryrefslogtreecommitdiff
path: root/tests/api_read_clock_2n/node.py
blob: 765c3f9d4cbe64d6c51ea04498c479caa8f932e6 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env python

def execute(api):
    api.log("Clock is {}s".format(api.read("clock"))) # Ensure clock is 0s for both node
    api.wait(5698.1256)
    api.log("Clock is {}s".format(api.read("clock"))) # Ensure clock is 5698.1256s for both node
    api.log("Clock is {}s".format(api.read("clock"))) # Ensure clock did not change in between for both node