示例#1
0
class TestPQWorkerSerial(TransactionTestCase):
    reset_sequences = True
    def setUp(self):
        self.q = Queue()
        self.q.save_queue()
        self.sq = SerialQueue()
        self.sq.save_queue()

    def test_pq_worker_serial(self):
        call_command('pqworker', 'serial', 'default', burst=True)
示例#2
0
 def setUp(self):
     self.q = Queue()
     self.q.save_queue()
     self.sq = SerialQueue()
     self.sq.save_queue()