title: Testing only project in Django
body: <p>When I try to run <code>python manage.py test</code> in my Django (1.4) project, I get the error:</p>
  
  <pre><code>ERROR: test_site_profile_not_available (django.contrib.auth.tests.models.ProfileTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/slacy/src/tmp/env/local/lib/python2.7/site-packages/django/contrib/auth/tests/models.py", line 29, in test_site_profile_not_available
      del settings.AUTH_PROFILE_MODULE
    File "/home/slacy/src/tmp/env/local/lib/python2.7/site-packages/django/utils/functional.py", line 215, in __delattr__
      delattr(self._wrapped, name)
  AttributeError: AUTH_PROFILE_MODULE
  </code></pre>
  
  <p>This is <a href="https://code.djangoproject.com/ticket/17966">documented</a> in a Django bug, with a recomendation to only test specific apps instead of all. However my project has no apps, the <code>models.py</code> simply resides in the project root. To test a specific <em>app</em> in Django, it looks like <a href="https://docs.djangoproject.com/en/dev/topics/testing/?from=olddocs#running-tests">this</a>:</p>
  
  <pre><code>$ ./manage.py test animals
  Note that we used animals, not myproject.animals.
  </code></pre>
  
  <p>meaning that it is not possible to specify the root directory to test. How would I test just my project directory?</p>
  
  <p>Note that this bug is part of a <a href="https://code.djangoproject.com/ticket/17365">larger discussion on unit testing discovery</a>. </p>