Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix unittest now that entity has been removed.

  • Loading branch information...
commit 0c43dbfc3b87358ce74ae99cdc0ace54699cd637 1 parent 6f79c94
@cluther cluther authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 ZenPacks/zenoss/RabbitMQ/tests/testModel.py
View
4 ZenPacks/zenoss/RabbitMQ/tests/testModel.py
@@ -53,7 +53,6 @@ def testRabbitMQNode(self):
self.assertEquals(self.d.rabbitmq_nodes.countObjects(), 1)
info = IInfo(self.d.rabbitmq_nodes()[0])
- self.assertEquals(info.entity['name'], 'rabbit@dev1')
self.assertEquals(info.vhostCount, 2)
self.assertEquals(info.exchangeCount, 23)
self.assertEquals(info.queueCount, 11)
@@ -66,7 +65,6 @@ def testRabbitMQVHost(self):
self.assertEquals(node.rabbitmq_vhosts.countObjects(), 2)
info = IInfo(node.rabbitmq_vhosts._getOb('-'))
- self.assertEquals(info.entity['name'], '/')
self.assertEquals(info.rabbitmq_node.name, 'rabbit@dev1')
self.assertEquals(info.exchangeCount, 7)
self.assertEquals(info.queueCount, 0)
@@ -79,7 +77,6 @@ def testRabbitMQExchange(self):
exchange = vhost.rabbitmq_exchanges._getOb('amq.default')
info = IInfo(exchange)
- self.assertEquals(info.entity['name'], 'amq.default')
self.assertEquals(info.rabbitmq_node.name, 'rabbit@dev1')
self.assertEquals(info.rabbitmq_vhost.name, '/')
self.assertEquals(info.exchange_type, 'direct')
@@ -97,7 +94,6 @@ def testRabbitMQQueue(self):
self.assertEquals(queue.rabbitmq_vhost_name, '/zenoss')
info = IInfo(queue)
- self.assertEquals(info.entity['name'], 'zenoss.queues.zep.zenevents')
self.assertEquals(info.rabbitmq_node.name, 'rabbit@dev1')
self.assertEquals(info.rabbitmq_vhost.name, '/zenoss')
self.assertTrue(info.durable is True)
Please sign in to comment.
Something went wrong with that request. Please try again.