ghettoq
ghettoq copied to clipboard
Tests fail to run: ImportError: No module named djangox.test.depth
django-admin test fails with ghettoq (0.4) in INSTALLED_APPS with django 1.2.
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in
management.execute_from_command_line()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 218, in execute
output = self.handle(*args, **options)
File "/project/helloworld/testing/management/commands/test.py", line 16, in handle
super(Command, self).handle(*args, **options)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/commands/test.py", line 37, in handle
failures = test_runner.run_tests(test_labels)
File "/usr/local/lib/python2.6/dist-packages/django/test/simple.py", line 312, in run_tests
suite = self.build_suite(test_labels, extra_tests)
File "/usr/local/lib/python2.6/dist-packages/django/test/simple.py", line 248, in build_suite
suite.addTest(build_suite(app))
File "/usr/local/lib/python2.6/dist-packages/django/test/simple.py", line 109, in build_suite
test_module = get_tests(app_module)
File "/usr/local/lib/python2.6/dist-packages/django/test/simple.py", line 67, in get_tests
test_module = __import__('.'.join(app_path + [TEST_MODULE]), {}, {}, TEST_MODULE)
File "/usr/local/lib/python2.6/dist-packages/ghettoq/tests/__init__.py", line 1, in
from djangox.test.depth import alltests
ImportError: No module named djangox.test.depth
Apparently this depends on a special recursive testing package http://pypi.python.org/pypi/django-unittest-depth/0.6