Skip to content

Commit

Permalink
Merge pull request #698 from lgpage/fix-tests
Browse files Browse the repository at this point in the history
Force phantomjs service to terminate in Linux
  • Loading branch information
jhamrick authored Feb 6, 2017
2 parents 34d9351 + 13173b8 commit 88fc0bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nbgrader/tests/nbextensions/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,10 @@ def fin():
print(message)
print("<------------------------------------------>")
browser.save_screenshot(os.path.join(os.path.dirname(__file__), 'selenium.screenshot.png'))
browser.service.process.send_signal(signal.SIGTERM)
browser.quit()
request.addfinalizer(fin)

request.addfinalizer(fin)
return browser


Expand Down

0 comments on commit 88fc0bf

Please sign in to comment.