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

Tests fail to run: ImportError: No module named djangox.test.depth #4

Open
mixman opened this issue Jul 18, 2010 · 1 comment
Open

Comments

@mixman
Copy link

mixman commented Jul 18, 2010

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
@svevang
Copy link

svevang commented Aug 20, 2010

Apparently this depends on a special recursive testing package
http://pypi.python.org/pypi/django-unittest-depth/0.6

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

2 participants