Skip to content

Commit

Permalink
Removed class StdoutCapture
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Nov 17, 2023
1 parent cc2b8ce commit 4d5ce9f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/integration/test_create_dss_docker_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,6 @@
from exasol.ds.sandbox.lib import pretty_print


class StdoutCapture:
def __init__(self):
self._stream = sys.stdout
self._buffer = io.StringIO("")
sys.stdout = self._buffer

def stop(self):
sys.stdout = self._stream

@property
def output(self) -> str:
"""Return the captured output."""
self._buffer.seek(0)
return self._buffer.read().strip()


@pytest.fixture(scope="session")
def dss_docker_image():
testee = DssDockerImage(
Expand Down

0 comments on commit 4d5ce9f

Please sign in to comment.