def exec(self, command): if not self._container: raise ContainerStartException("Container should be started before") return self.get_wrapped_container().exec_run(command)
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)