Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

hemamaps / celery   python

Repository URL to install this package:

Version: 3.1.23 

/ tests / app / test_celery.py

from __future__ import absolute_import
from celery.tests.case import AppCase

import celery


class test_celery_package(AppCase):

    def test_version(self):
        self.assertTrue(celery.VERSION)
        self.assertGreaterEqual(len(celery.VERSION), 3)
        celery.VERSION = (0, 3, 0)
        self.assertGreaterEqual(celery.__version__.count('.'), 2)

    def test_meta(self):
        for m in ('__author__', '__contact__', '__homepage__',
                  '__docformat__'):
            self.assertTrue(getattr(celery, m, None))