Add file-based unit tests

This commit is contained in:
Joe Rickerby
2020-07-08 22:56:33 +01:00
parent 833a069207
commit 9e35d65de4
2 changed files with 39 additions and 8 deletions
+4
View File
@@ -58,6 +58,10 @@ class DockerContainer:
assert self.process.stdin and self.process.stdout
self.bash_stdin = self.process.stdin
self.bash_stdout = self.process.stdout
# run a noop command to block until the container is responding
self.call(['/bin/true'])
return self
def __exit__(self, exc_type, exc_val, exc_tb):