Skip to content

Commit

Permalink
capture and print test_scripts output for debugging CI-testing #4
Browse files Browse the repository at this point in the history
  • Loading branch information
gph82 committed Jan 3, 2025
1 parent 95aa520 commit 6d206cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ def test_mdc_neighborhood(self):
CP = self.xCLTs.run("mdc_neighborhoods",
# show=True
)
print([iCP.stdout.decode().splitlines() for iCP in CP])
print([iCP.stderr.decode().splitlines() for iCP in CP])
assert _np.unique([iCP.returncode for iCP in CP]) == 0, ([iCP.stdout.decode().splitlines() for iCP in CP]+[iCP.stderr.decode().splitlines() for iCP in CP])
for iCP in CP:
print(iCP.stdout.decode())
for iCP in CP:
print(iCP.stderr.decode())
assert _np.unique([iCP.returncode for iCP in CP]) == 0, ([iCP.stdout.decode() for iCP in CP]+[iCP.stderr.decode() for iCP in CP])

def test_mdc_interface(self):
with remember_cwd():
Expand Down

0 comments on commit 6d206cd

Please sign in to comment.