thorn.funtests.suite

Functional test suite.

Instructions

  1. Start the celery worker:

    $ celery -A thorn.funtests worker -l info -P eventlet -c 1000
    
  2. Start the development web server:

    $ python manage.py runserver
    
  3. Then execute the functional test suite:

    $ celery -A thorn.funtests cyanide
    

Tips

For a list of tests that you can select see:

$ celery -A thorn.funtests cyanide -l
class thorn.funtests.suite.Default(app, no_color=False, **kwargs)[source]

Thorn integration test suite.

endpoints()[source]
hundred_subscribers(event=u'article.created')[source]
sender_mismatch_does_not_dispatch(event=u'article.changed')[source]
subscribe_to_article_changed(event=u'article.changed')[source]
subscribe_to_article_created(event=u'article.created')[source]
subscribe_to_article_published(event=u'article.published')[source]
subscribe_to_article_removed(event=u'article.removed')[source]
subscribe_to_tag_added(event=u'article.tag_added')[source]
subscribe_to_tag_all_cleared(event=u'article.tag_all_cleared')[source]
subscribe_to_tag_removed(event=u'article.tag_removed')[source]
subscriber_callback_setting(event=u'article.changed')[source]
subscriber_setting(event=u'article.changed')[source]
unsubscribe_does_not_dispatch(event=u'article.created')[source]
thorn.funtests.suite.callback_subscribers(event, sender=None, **kwargs)[source]

Return a dummy set of callback subscribers.