setUpClass is evil. It lures you in to a sense of complacency thinking
that reality exists and makes sense. But it's all just a cruel joke
designed to increase your personal karmic debt.
In order that we might collectively one day reach nirvana, remove all
senseless and misleading instances of setUpClass. Then add local hacking
checks to prevent the introduction of such scourge ever again.
Change-Id: Ifd43958bf47981aedad639bef61769ddb37618d3
We have a centrally defined test case base class that handles a set of
things like log capture, mocking time.sleep and setting up
requests-mock.
We also had a split base test case, with some things using TestCase and
some using RequestsMockTestCase. This was a holdover from the transition
to requests-mock. We are finally at the point where we don't need the
split, so merge TestCase and RequestsMockTest case.
Then, update all of the tests to use the new combined base class.
Also, replace a use of unittest.skipTest with self.skipTest from the
base class.
Change-Id: I2cc3e201a5241262e5d102d3de8423c4fb2a8c4a
This sucks in the git history for both projects, then moves their files
in place. It should not introduce any behavior changes to any of the
existing openstacksdk code, nor to openstack.config and openstack.cloud
- other than the name change.
TODO(shade) comments have been left indicating places where further
integration work should be done.
It should not be assumed that these are the final places for either to
live. This is just about getting them in-tree so we can work with them.
The enforcer code for reasons surpassing understanding does not work
with python setup.py build_sphinx but it does work with sphinx-build
(what?) For now turn it off. We can turn it back on once the build
sphinx job is migrated to the new PTI.
Change-Id: I9523e4e281285360c61e9e0456a8e07b7ac1243c
The developer docs seem to have moved so this updates
any references to docs.openstack.org/developer
Change-Id: Ie622b9514dfffc0bbf5ed553f38f0b736d698a64