'Test dvr agents configured with "dvr_snat" are excluded.
This test case tests that when get_number_of_agents_for_scheduling
is called, it ounts dvr_snat agents.'

def test_include_dvr_snat_agents_for_ha_candidates(self):

    helpers.register_l3_agent('host_3', constants.L3_AGENT_MODE_DVR_SNAT)
    num_ha_candidates = self.plugin.get_number_of_agents_for_scheduling(self.admin_ctx)
    self.assertEqual(3, num_ha_candidates)
