| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I3be6c40ef61e0334cab860689abbee84f5d19265
|
| |
|
|
|
|
| |
Trivial fix.
Change-Id: I0e678649225d58e70db09f6c0acce59d20f48004
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch migrates designateclient to using keystoneauth Session
instead of deprecated keystoneclient's Session and plugins.
Also, this patch removes the old designateclient.auth module as it is
not used anywhere else in the code base and its purpose is overridden by
the fact that keystoneauth acts as an abstraction layer for
authentication (handling requests and reauthentication internally).
Change-Id: Ic3cc0fbb76977a04bab322ebcb1c818e75646772
|
| |
|
|
|
|
|
|
| |
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.
Change-Id: Ifcaeba48ff3606d3805343923378d0e58f68a2b9
Closes-bug: #1280522
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
Add endpoint_override keyword to v2.Client() and check for the
session argument in DesignateAdapter()
Add unit test, fix minor typos
Change-Id: I038ec7b0d1feadc9642bd47285e397b3fe84c13c
Closes-Bug: 1469739
|