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

use check_call for extension installation in tests #700

Merged
merged 1 commit into from
Feb 7, 2017

Conversation

minrk
Copy link
Member

@minrk minrk commented Feb 7, 2017

rather than Popen, which just launches the program.

check_call adds:

  • wait for it to finish
  • raise error on nonzero exit code

should close #694, if slow extension enabling was indeed the culprit.

rather than Popen

check_call does:

- wait for it to finish
- check exit code, error on nonzero
@jhamrick
Copy link
Member

jhamrick commented Feb 7, 2017

Thanks!

Well, there are still spuriously failing tests, but this does seem to have enforced at least that the nbextensions are properly installed. I think the other failing tests are probably due to other errors, sigh. Progress, at least! 😄

@jhamrick jhamrick added this to the 0.4.1 milestone Feb 7, 2017
@jhamrick jhamrick added the bugfix label Feb 7, 2017
@jhamrick jhamrick merged commit 33d596b into jupyter:master Feb 7, 2017
@jhamrick
Copy link
Member

jhamrick commented Feb 7, 2017

@meeseeksdev backport to 0.4.x

lumberbot-app bot pushed a commit that referenced this pull request Feb 7, 2017
rather than Popen, which just launches the program.

check_call adds:

- wait for it to finish
- raise error on nonzero exit code

should close  694, if slow extension enabling was indeed the culprit.
jhamrick added a commit that referenced this pull request Feb 8, 2017
@jhamrick jhamrick modified the milestones: 0.4.1, 0.5.0 May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate why nbextension tests keep failing
2 participants