The --records argument was deprecated during queens cycle[1], and
the new --record argument should be used.
[1] 66e4955408eacb4859cfef01a31d013e34c28ffb
Related-Bug: #1736161
Change-Id: Ia4d84e6167d1192fee351d663af3e9f4cda1ea3f
Result of running
$ pyupgrade --py38-plus $(git ls-files | grep ".py$")
This was inspired by Nova [1] and Octavia [2]
Fixed PEP8 errors introduced by pyupgrade by running:
$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
--in-place designate
and manual updates.
[1]: https://review.opendev.org/c/openstack/nova/+/896986
[2]: https://review.opendev.org/c/openstack/octavia/+/899263
Change-Id: I27d09edb7e75081379002615f4ecdb1aa007dbcf
This patch adds a hacking check for line continuation backslashes and fixes the occurences that existed in the code.
Change-Id: I13cd03e16698b7f1d8036815d12a665bd1156f2f
This patch removes the use of "six" as the package declares only
python3 support.
It also updates the appdirs lower-constraint to 1.4.0 to support
pip. This version is available on both centos8 and focal.
It also removes the linter related packages from lower-constraints.
Change-Id: I9337f1998749bc40737f2f0e2dcc406b6f3a0ddf
This fix adds support for the designate tsig keys api to
python-designateclient.
It will add tsigkey related crud commands to the openstackclient.
Change-Id: I84336c3aca85ca62771fd2115481eda32ee980d2
Closes-Bug: #1702506
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate the
setting from the old warnerrors one.
This involves a couple of changes to the docs to fix the now broken
build.
Change-Id: I9bee7f6f9c69a9ed7bb22325ad1a0a1316dde526
tempest-lib has been deprecated since a year. All
the interfaces available in tempest-lib are now available
in tempest/lib.
This patch make use of tempest/lib instead of tempest-lib.
Also add tempest in test-requirements.txt
Change-Id: I6cb50b68631391f0368e8a2e6133f94c1da52376
This test would occasionally fail if the import was still PENDING when
the check asserted a COMPLETED status.
Change-Id: Ia2c320d50dd061980c27b0b7ec0cb6c65c13f6e7
Zone import commands (create, list, show, delete)
are missing from the python-designateclient.
This change includes implementation, as well as unit tests
and functionaltests.
Change-Id: I635431b5ef11989247e8d185ad692e4fee9bebba
Closes-Bug: #1550532
Zone export commands (create, list, show, delete, showfile)
are missing from the python-designateclient.
This change includes implementation, as well as unit tests
and functionaltests.
Change-Id: I957946d739bceea1074e2fda2ce7f841143b0611
Partial-Bug: #1550532
This allows us to run the functional tests against environments than
what's in the service catalog.
note: ideally, this would allow us to run against a Designate in
noauth mode. And it does, however there's not a way to pass in the
X-Auth-Project-ID header, so the tests will always use the
noauth-project (tests involving multiple users like, zone transfer
tests, won't work).
Change-Id: If9306b27d78d7c774911d3c1abb46bfbf72539f1
This patch replaces map() and zip() with six.moves.map()
and six.moves.zip() respectively to provide py2/3
compatibility.
Change-Id: I2e4b61c67ee34247f4c9e77f593df18d9dfd574b
Partially-Implements: blueprint designate-py3
The tld tests will create/remove tlds which would cause problems
when running zone tests in parallel. To solve this, a separate tld
is created for each zone.
Change-Id: I8957f6f294bc5624ce049e36bef4a948cef3e380
Some tests in designateclient used incorrect
argument order in assertEqual(observed, expected).
The correct order expected by testtools is
assertEqual(expected, observed).
Partial-Bug: #1259292
Change-Id: Icc53b2f21e557170a61ceb52cd6f04c31e3b8425