masakari/masakari/tests/unit
Stephen Finucane 69d62e3e6d db: Don't pass strings to Connection.execute()
Resolve the following RemovedIn20Warning warning:

  Passing a string to Connection.execute() is deprecated and will be
  removed in version 2.0.  Use the text() construct, or the
  Connection.exec_driver_sql() method to invoke a driver-level SQL
  string.

We do the latter.

Change-Id: I0ee518022772beeb0298e12b5b36279fd384fb4a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-12-23 04:25:12 +00:00
..
api update api microversion for masakari vmoves 2023-02-02 10:12:04 +08:00
cmd DLM to fix host notification race. 2022-07-19 09:31:47 +00:00
compute Merge "[TrivialFix] Improve one method's name" 2021-04-27 15:04:45 +00:00
db db: Don't pass strings to Connection.execute() 2023-12-23 04:25:12 +00:00
engine tests: Resolve various warnings 2023-12-23 02:42:08 +00:00
ha vm moves for host notification 2023-01-28 11:01:24 +00:00
monkey_patch_example Add testing for WSGI Framework 2016-08-26 14:07:20 +05:30
notifications remove unicode from code 2021-01-04 01:02:06 +00:00
objects fix ci broken 2023-12-21 13:36:46 +08:00
__init__.py Remove reference of Nova 2016-09-28 09:41:06 +05:30
conf_fixture.py Add testing for WSGI Framework 2016-08-26 14:07:20 +05:30
fake_notifier.py Add testing for WSGI Framework 2016-08-26 14:07:20 +05:30
fake_policy.py Register and Document policy in code 2018-07-27 12:15:14 +05:30
fakes.py vm moves for host notification 2023-01-28 11:01:24 +00:00
policy_fixture.py [CI] Fix gate - multiple fixes (Focal/Py38 and policy) 2020-09-11 19:16:32 +02:00
test_api_validation.py Finish switch from http.client to HTTPStatus 2021-04-21 17:41:28 +00:00
test_conf.py Add testing for WSGI Framework 2016-08-26 14:07:20 +05:30
test_context.py tests: Resolve various warnings 2023-12-23 02:42:08 +00:00
test_exception.py Finish switch from http.client to HTTPStatus 2021-04-21 17:41:28 +00:00
test_hacking.py Update hacking for Python3 2020-04-19 07:41:06 +02:00
test_masakari_manage.py Use unittest.mock instead of third party mock 2020-04-18 11:54:10 -05:00
test_policy.py [CI] Fix gate - multiple fixes (Focal/Py38 and policy) 2020-09-11 19:16:32 +02:00
test_rpc.py Use new get_rpc_client API from oslo.messaging 2023-01-23 19:22:07 +00:00
test_safeutils.py Add testing for WSGI Framework 2016-08-26 14:07:20 +05:30
test_service.py Use unittest.mock instead of third party mock 2020-04-18 11:54:10 -05:00
test_utils.py [Part1]Remove six 2020-08-30 09:03:07 +00:00
test_versions.py [Part1]Remove six 2020-08-30 09:03:07 +00:00
test_wsgi.py Use unittest.mock instead of third party mock 2020-04-18 11:54:10 -05:00
utils.py Add testing for WSGI Framework 2016-08-26 14:07:20 +05:30