etcd3gw/etcd3gw/tests
John Eckersberg 714d366b97 Allow override of api path via ETCD3GW_API_PATH envvar
Per https://etcd.io/docs/v3.5/dev-guide/api_grpc_gateway/:

    etcd v3.5 or later uses only [CLIENT-URL]/v3/*.

Due to this, running the tests against etcd >= 3.5 will fail, since we
use /v3alpha/ by default for backward compatibility.

This change allows running the tests successfully against a newer etcd
by passing the environment through tox like so:

$ ETCD3GW_API_PATH=/v3/ TOX_TESTENV_PASSENV=ETCD3GW_API_PATH tox -epy311
[snip]
  py311: commands succeeded
  congratulations :)

Change-Id: If0bbe5bb9dd3dd3f3e1ed79e354be582568950ce
2023-01-30 20:35:38 -05:00
..
__init__.py Initial implementation with py27,py35,pep8 working 2017-03-24 17:53:23 -04:00
base.py Initial implementation with py27,py35,pep8 working 2017-03-24 17:53:23 -04:00
test_client.py Allow override of api path via ETCD3GW_API_PATH envvar 2023-01-30 20:35:38 -05:00
test_etcd3gw.py Handle key has only metadata and no value 2022-04-13 06:11:04 +00:00