Пример #1
0
 def test_vogeler_runner_init(self):
     """Test that creating a Runner object works"""
     c = VogelerRunner('broadcast.*',
                     host='localhost',
                     username='******',
                     password='******')
     self.assertType(c, 'vogeler.vogeler.VogelerRunner')
     c.close()
Пример #2
0
 def test_runner_message_nondurable(self):
     """Test that runner can send non-durable messages"""
     test_message = 'facter'
     c = VogelerRunner('broadcast.*',
                     host='localhost',
                     username='******',
                     password='******')
     self.assertIsNone(c.message(test_message, durable=False))
     c.close()
Пример #3
0
 def test_runner_message_nondurable(self):
     """Test that runner can send non-durable messages"""
     test_message = 'facter'
     c = VogelerRunner('broadcast.*', dsn=self.good_amqp_dsn)
     self.assertIsNone(c.message(test_message, durable=False))
     c.close()
Пример #4
0
 def test_vogeler_runner_init(self):
     """Test that creating a Runner object works"""
     c = VogelerRunner('broadcast.*', dsn=self.good_amqp_dsn)
     self.assertType(c, 'vogeler.vogeler.VogelerRunner')
     c.close()
Пример #5
0
 def test_runner_message_nondurable(self):
     """Test that runner can send non-durable messages"""
     test_message = 'facter'
     c = VogelerRunner('broadcast.*', dsn=self.good_amqp_dsn)
     self.assertIsNone(c.message(test_message, durable=False))
     c.close()
Пример #6
0
 def test_vogeler_runner_init(self):
     """Test that creating a Runner object works"""
     c = VogelerRunner('broadcast.*', dsn=self.good_amqp_dsn)
     self.assertType(c, 'vogeler.vogeler.VogelerRunner')
     c.close()