added run time test framework
This commit is contained in:
parent
6d2ae36f38
commit
f14239db6c
7 changed files with 63 additions and 3 deletions
|
@ -83,7 +83,7 @@ class PrivateAPI:
|
|||
except TypeError:
|
||||
return False
|
||||
|
||||
def getUptime(self):
|
||||
def getUptime(self)->int:
|
||||
while True:
|
||||
try:
|
||||
return epoch.get_epoch() - self.startTime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue