Esempio n. 1
0
 def exec(self, command):
     if not self._container:
         raise ContainerStartException("Container should be started before")
     return self.get_wrapped_container().exec_run(command)
Esempio n. 2
0
 def get_logs(self):
     if not self._container:
         raise ContainerStartException("Container should be started before")
     return self._container.logs(stderr=False), self._container.logs(
         stdout=False)