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()
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()
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()
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()