How to run all tests in INSTALLED_APPS with the new test runner 1.6?

2013-11-09 Thread Kyle MacFarlane
With the new test runner in 1.6 it only seems to be running tests under my project and ignoring all tests in dependent apps listed in INSTALLED_APPS. If I try to specify another app to test by doing something like "django test a_dependency" I get an exception from Python's unittest saying "Path

Testing feed generators doesn't load attribute templates?

2009-09-28 Thread Kyle MacFarlane
I extended django.utils.feedgenerator.Atom1Feed for my own needs and am trying to write some tests for it. It works fine from rusnserver and mod_wsgi. Basically, when feeds are accessed from the testrunner I'm running into these problems: 1) The item_title() and item_description() methods are

Re: Management commands not detected in all packages under a namespace?

2009-09-19 Thread Kyle MacFarlane
On Sep 19, 6:41 am, James Bennett <ubernost...@gmail.com> wrote: > On Fri, Sep 18, 2009 at 10:36 PM, Kyle MacFarlane > > <kylemacfarl...@gmail.com> wrote: > > Everything works fine except when detecting management commands. It > > will only detect commands

Management commands not detected in all packages under a namespace?

2009-09-18 Thread Kyle MacFarlane
I have a bunch of packages under a company namespace, and inside "company.__init__.py" in every package I have only the following: __import__('pkg_resources').declare_namespace(__name__) Everything works fine except when detecting management commands. It will only detect commands in the first