Ticket #7513: setuptools-test-dep.diff

File setuptools-test-dep.diff, 943 bytes (added by Ramiro Morales, 16 years ago)
  • docs/contributing.txt

    diff -r 5942fe28c8b3 docs/contributing.txt
    a b  
    739739      deleted when the tests are finished. This means your user account needs
    740740      permission to execute ``CREATE DATABASE``.
    741741
     742.. admonition:: Getting 'ImportError: No module named pkg_resources' errors?
     743
     744    If you find the above error when running the unit tests, make sure you've
     745    installed the setuptools_ package for the Python version you are using.
     746    One of the tests tries to load a Django template from an egg so setuptools
     747    is needed for that particular test.
     748
     749.. _setuptools: http://pypi.python.org/pypi/setuptools/
     750
    742751To run a subset of the unit tests, append the names of the test modules to the
    743752``runtests.py`` command line. See the list of directories in
    744753``tests/modeltests`` and ``tests/regressiontests`` for module names.
Back to Top