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

Python tests fail locally after the webtest change #326

Closed
jiayliu opened this issue Dec 19, 2014 · 3 comments
Closed

Python tests fail locally after the webtest change #326

jiayliu opened this issue Dec 19, 2014 · 3 comments

Comments

@jiayliu
Copy link
Contributor

jiayliu commented Dec 19, 2014

Running "shell:runPythonTests" (shell) task
apprtc_test (unittest.loader.ModuleImportFailure) ... ERROR

ERROR: apprtc_test (unittest.loader.ModuleImportFailure)

ImportError: Failed to import test module: apprtc_test
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
import(name)
File "/usr/local/google/home/jiayl/code/apprtc-fork/jiayl-webrtc/samples/web/content/apprtc/apprtc_test.py", line 4, in
import webtest
File "webtest-master/webtest/init.py", line 9, in
from webtest.app import TestApp
File "webtest-master/webtest/app.py", line 32, in
from webtest.response import TestResponse
File "webtest-master/webtest/response.py", line 5, in
from webtest import forms
File "webtest-master/webtest/forms.py", line 7, in
from bs4 import BeautifulSoup
ImportError: No module named bs4

@jiayliu
Copy link
Contributor Author

jiayliu commented Dec 22, 2014

I figured out how to fix it locally:
http://stackoverflow.com/questions/25697184/importerror-no-module-named-bs4

@phoglund

Can you modify the script to check/install the prerequisites since other people may run into this problem as well?

@phoglund
Copy link
Contributor

Yeah, I thought it was already doing that as a part of the make script, and
it appeared to work on the Travis boxes, but I'll make sure it always does
it.

/ P

On Mon, Dec 22, 2014 at 11:11 PM, Jiayang Liu notifications@github.com
wrote:

I figured out how to fix it locally:
http://stackoverflow.com/questions/25697184/importerror-no-module-named-bs4

@phoglund https://github.com/phoglund

Can you modify the script to check/install the prerequisites since other
people may run into this problem as well?


Reply to this email directly or view it on GitHub
#326 (comment).

@juberti
Copy link
Contributor

juberti commented Feb 4, 2015

should this move to apprtc issue tracker?

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

No branches or pull requests

3 participants