Skip to content

Instantly share code, notes, and snippets.

@lucaswiman
Created May 16, 2013 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucaswiman/5594078 to your computer and use it in GitHub Desktop.
Save lucaswiman/5594078 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: testSQL (tests.test_convert.TestConvertPyx12)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_convert.py", line 78, in testSQL
db.execute( stmt )
OperationalError: table X278_2000E already exists
======================================================================
ERROR: testDjangoAdmin (tests.test_parse.TestDjangoVisitors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_parse.py", line 229, in testDjangoAdmin
dj= DjangoAdminVisitor( )
NameError: global name 'DjangoAdminVisitor' is not defined
======================================================================
ERROR: setUpModule (tests.test_wsClaims)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_wsClaims.py", line 101, in setUpModule
the_proc = subprocess.Popen(command, shell=False, stdout=the_log, stderr=the_err)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: web.claims.tests (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: web.claims.tests
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
__import__(name)
File "web/claims/tests.py", line 9, in <module>
from django.test import TestCase
File "/usr/local/lib/python2.7/site-packages/django/test/__init__.py", line 5, in <module>
from django.test.client import Client, RequestFactory
File "/usr/local/lib/python2.7/site-packages/django/test/client.py", line 21, in <module>
from django.db import close_connection
File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py", line 11, in <module>
if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 53, in __getattr__
self._setup(name)
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 46, in _setup
% (desc, ENVIRONMENT_VARIABLE))
ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
======================================================================
ERROR: web.claims_837.tests (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: web.claims_837.tests
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
__import__(name)
File "web/claims_837/tests.py", line 5, in <module>
from django.test import TestCase
File "/usr/local/lib/python2.7/site-packages/django/test/__init__.py", line 5, in <module>
from django.test.client import Client, RequestFactory
File "/usr/local/lib/python2.7/site-packages/django/test/client.py", line 21, in <module>
from django.db import close_connection
File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py", line 11, in <module>
if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 53, in __getattr__
self._setup(name)
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 46, in _setup
% (desc, ENVIRONMENT_VARIABLE))
ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
----------------------------------------------------------------------
Ran 113 tests in 2.987s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment