'Test normal flows.'

@mock.patch.object(driver.CiscoFCZoneDriver, 'get_zoning_status')
@mock.patch.object(driver.CiscoFCZoneDriver, 'get_active_zone_set')
def test_add_connection(self, get_active_zone_set_mock, get_zoning_status_mock):

    GlobalVars._is_normal_test = True
    GlobalVars._zone_state = []
    self.setup_driver(self.setup_config(True, 1))
    get_zoning_status_mock.return_value = {'mode': 'basis', 'session': 'none'}
    get_active_zone_set_mock.return_value = _active_cfg_default
    self.driver.add_connection('CISCO_FAB_1', _initiator_target_map)
    self.assertTrue((_zone_name in GlobalVars._zone_state))
