Remove duplicate DHCP agent registration in unit test

Looks like a copy/paste mistake.

Change-Id: Ib8878e68f5348e03c9021ae3760b81f7cc73e68f
This commit is contained in:
Assaf Muller 2015-07-24 15:19:43 -04:00
parent f965483be6
commit da3cfb1e88
1 changed files with 0 additions and 1 deletions

View File

@ -289,7 +289,6 @@ class DHCPAgentWeightSchedulerTestCase(TestDhcpSchedulerBaseTestCase):
def test_scheduler_one_agents_per_network(self):
self._save_networks(['1111'])
helpers.register_dhcp_agent(HOST_C)
helpers.register_dhcp_agent(HOST_C)
self.plugin.network_scheduler.schedule(self.plugin, self.ctx,
{'id': '1111'})
agents = self.plugin.get_dhcp_agents_hosting_networks(self.ctx,