def test_runtask_django(self):
        self.assertRaises(CommandError,
            lambda: call_command('runtask', 'task'))
Test running tasks via the ``runtask`` command.
dataset/ETHPy150Open jgorset/django-kronos/kronos/tests/tests.py/TestCase.test_runtask_django