Permalink
Browse files

Tests passing

  • Loading branch information...
1 parent 93e49e2 commit b4e343887c4ea5ff357a39fb42b26b8244031f44 @ask committed Feb 24, 2012
Showing with 4 additions and 3 deletions.
  1. +2 −1 contrib/release/doc4allmods
  2. +1 −1 djcelery/loaders.py
  3. +1 −1 djcelery/tests/test_views.py
@@ -15,7 +15,8 @@ SKIP_FILES="djcelery.management.rst
djcelery.contrib.rst
djcelery.backends.rst
djcelery.migrations.rst
- djcelery.migrations.0001_initial.rst"
+ djcelery.migrations.0001_initial.rst
+ djcelery.migrations.0002_v25_changes.rst"
modules=$(find "$PACKAGE" -name "*.py")
View
@@ -112,7 +112,7 @@ def import_default_modules(self):
self.autodiscover()
def autodiscover(self):
- self.task_modules.update(mod.__name__ for mod in autodiscover())
+ self.task_modules.update(mod.__name__ for mod in autodiscover() or ())
def on_worker_process_init(self):
# the parent process may have established these,
@@ -115,7 +115,7 @@ class test_registered_tasks(ViewTestCase):
def test_list_registered_tasks(self):
json = self.client.get(registered_tasks())
tasks = deserialize(json.content)
- self.assertIn("celery.ping", tasks["regular"])
+ self.assertIn("celery.backend_cleanup", tasks["regular"])
class test_webhook_task(ViewTestCase):

0 comments on commit b4e3438

Please sign in to comment.