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

NameError: global name 'socket' is not defined in appengine_django.test.integration_test.py #176

Open
GoogleCodeExporter opened this issue Jan 18, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Launch manage.py test
2. A socket [Errno 10053] error is produced

What is the expected output? What do you see instead?
It is expected that integration test catch the exception and show a log error 
but the module socket is not imported in module integration_test.py so a 
"NameError: global name 'socket' is not defined" exception is raised.

What version of the product are you using? On what operating system?

r105 version on windows XP. I check trunk version and the bug is present also.

Please provide any additional information below.

With a simple "import socket" in the integration_test.py the issue is fixed.

Original issue reported on code.google.com by [email protected] on 2 Jul 2010 at 12:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant