sebastian-ardila / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 marmo...@gmail.com on 2 Jul 2010 at 12:21