Skip to content

Commit

Permalink
docs theme + travis debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Jan 30, 2017
1 parent 6ed0ad9 commit 8f83bb0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down
12 changes: 12 additions & 0 deletions tests/live_tests/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,18 @@ def start(self):
for mount in self.get_mounts():
with open(mount["var_path"], "r") as f:
print(f.read())
process = subprocess.Popen(
cmd.split(),
stdin=None,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
)
stdout, stderr = process.communicate()
print("STDOUT:")
print(stdout)
print("STDERR:")
print(stderr)

raise InstanceError(
"Can't run detached instance: {}\n"
"cmd:\n"
Expand Down

0 comments on commit 8f83bb0

Please sign in to comment.