nfv/nfv/nfv-tests/nfv_unit_tests/tests
Al Bailey b8ff450f58 Add support for SQLAlchemy 1.4 to NFV
An internal variable was dropped in SQLALchemy 1.4.

This update attempts to use the newer syntax from 1.4
and falls back to the older syntax if the newer mechanism
cannot be used.

This will allow StarlingX to migrate to a newer version of
SQLALchemy without breaking the NFV database code.

Test Plan:
  PASS: verify coverage using SQLAlchemy 1.2 that the
 exception code is executed and unit tests pass.
  PASS: verify coverage using SQLAlchemy 1.4 that the
 exception code is not executed and unit tests pass.
  PASS: Build/Install/Bootstrap/Unlock AIO-SX to verify
 existing runtime behaviour is not impacted.

Story: 2010531
Task: 47237

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I4063dac0b3229b4c1fdb6c5121154665ffc32903
2023-01-30 21:08:56 +00:00
..
__init__.py Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
sw_update_testcase.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_database_upgrades.py Add support for SQLAlchemy 1.4 to NFV 2023-01-30 21:08:56 +00:00
test_debug_config.py Replace SafeConfigParser with ConfigParser 2023-01-25 21:02:55 +00:00
test_dhcp_network_rebalance_randomized.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_fw_update_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_instance.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_instance_director.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_kube_rootca_update_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_kube_upgrade_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_network_rebalance.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_network_rebalance_randomized.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_nfv_client.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_plugin_kubernetes_client.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_sw_patch_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_sw_upgrade_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
testcase.py Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
utils.py Neutron Network Rebalancing on DHCP Agents 2019-04-03 16:11:03 -04:00