Beispiel #1
0
 def logs(self, pth, *args, **kwargs):
     with Path(pth):
         with logs() as out:
             shovel.run(*args, **kwargs)
         return [
             line.strip() for line in out.getvalue().strip().split('\n')
         ]
Beispiel #2
0
 def stderr(self, pth, *args, **kwargs):
     with Path(pth):
         with capture('stderr') as out:
             shovel.run(*args, **kwargs)
         return [
             line.strip() for line in out.getvalue().strip().split('\n')
         ]
Beispiel #3
0
 def logs(self, pth, *args, **kwargs):
     with path(pth):
         with logs() as out:
             shovel.run(*args, **kwargs)
         return [line.strip() for line in
             out.getvalue().strip().split('\n')]
Beispiel #4
0
 def stderr(self, pth, *args, **kwargs):
     with path(pth):
         with capture('stderr') as out:
             shovel.run(*args, **kwargs)
         return [line.strip() for line in
             out.getvalue().strip().split('\n')]