Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_spockturk_shell: running cmds so responses can be captured #556

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tamruta
Copy link

@tamruta tamruta commented Dec 12, 2022

fixes #473

There were no shell commands being run that the tests could get response or catch errors. I couldn't add shell.runcmds_plus_hooks(cmds) because the function expects a string instead of a list of strings (very confused by this).

I was using print(f"\ncaptured.err: {captured.err}\ncaptured: {captured}") right before assertion to verify the shell commands were being run.

@tamruta tamruta changed the title running cmds so responses can be captured test_spockturk_shell: running cmds so responses can be captured Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests problem: tests of psiturk_shell are basically no-op
1 participant