Skip to content
Snippets Groups Projects

Resolve "Make ERS AppName more descriptive"

Merged Jonas Ladefoged Holm requested to merge 16-make-ers-appname-more-descriptive into master
Files
9
@@ -62,16 +62,14 @@ class DirectoryChecker():
def waitForAnyFile(self, seconds):
"Waits for the specified amount of time for the dir to be empty, returns a tuple (bool: timedout, str: lsOutput)"
timeToTimeout = seconds
self.timerUtil = Timer(timeToTimeout)
self.timerUtil = Timer(seconds)
while self.checkIfEmpty() and self.timerUtil.timesNotUp():
pass
return (self.timerUtil.timedout, self.getLsOutput())
def waitForEmptyDir(self, seconds):
"Waits for the specified amount of time for the dir to contain files, returns a tuple (bool: timedout, str: lsOutput)"
timeToTimeout = seconds
self.timerUtil = Timer(timeToTimeout)
self.timerUtil = Timer(seconds)
while self.checkIfNotEmpty() and self.timerUtil.timesNotUp():
pass
return (self.timerUtil.timedout, self.getLsOutput())
Loading