示例#1
0
 def test_reduce(self, *modules):
     from celery.backends.cassandra import CassandraBackend
     assert loads(dumps(CassandraBackend(app=self.app)))
示例#2
0
 def test_reduce(self):
     with mock_module(*CASSANDRA_MODULES):
         from celery.backends.cassandra import CassandraBackend
         self.assertTrue(loads(dumps(CassandraBackend(app=self.app))))
示例#3
0
 def test_reduce(self):
     with mock_module('pycassa'):
         from celery.backends.cassandra import CassandraBackend
         self.assertTrue(loads(dumps(CassandraBackend(app=self.get_app()))))