summaryrefslogtreecommitdiff
path: root/oslo_db/tests/test_concurrency.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use common base classStephen Finucane2021-07-291-2/+2
| | | | | | | | The final step in cleaning up our many base classes. This will allow us to do things consistently across the test suite in future changes. Change-Id: I0bf663fdfd3c8be93e5658493e221d0a7db78832 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* tests: Enfeeble 'oslo_db.tests.utils.BaseTestCase'Stephen Finucane2021-07-291-0/+5
| | | | | | | | | We have quite a few base test classes in use. Start fixing these by removing the logic from one of these. We will remove the class entirely in a future change. Change-Id: I6dae26aeb4b2a5cc4f39ed637807a27e44d40025 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Use unittest.mock instead of third party mock8.1.0Sean McGinnis2020-03-311-2/+1
| | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I3e1e5ed4e72837d45b78e5ccb9ce8cca416e5c11 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Fix parameters of assertEqual are misplacedyan.haifeng2016-07-201-3/+3
| | | | | | | | | | | | Many assertEqual sentences don't follow assertEqual(expected, actual), These misplaces have 2 impacts: 1, giving confusing messages when some tests failed. 2, mislead other developers, new test modules may follow these wrong pattern. This patch fix all of them. Change-Id: Ia5155114c60f5e27cb00b8aba6de5cf32e046dd7 Closes-Bug: #1604213
* Move files out of the namespace packageDoug Hellmann2014-12-241-0/+108
Move the public API out of oslo.db to oslo_db. Retain the ability to import from the old namespace package for backwards compatibility for this release cycle. Blueprint: drop-namespace-packages Change-Id: Ie96b482b9fbcb1d85203ad35bb65c1f43e912a44