tps: add get_serial

parent 54f4dc7d
......@@ -72,6 +72,11 @@ class Suite(object):
with open(self.config, 'wb') as configfile:
config.write(configfile)
def get_serial():
"""return serial number of current board to test
"""
return sha(timestamp())
def timestamp():
"""timestamp for now
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment