* Moves all tests to use a single set of central test data and
Adds a nifty manager for it.
Implements blueprint unified-test-data.
* Cleans up API code and API tests so that we're not testing
code that has no custom logic, or wrapping objects unnecessarily.
Implements blueprint api-simplification.
* Adds lots of docs on testing. It's a good step towards
blueprint improve-dev-documentation.
* Improves API exception handling for duplicate objects and containers.
Fixes bug 930816.
Change-Id: I5526ccf5b38708885ea2d1f06b0d3483c58c4dad
18 lines
319 B
ReStructuredText
18 lines
319 B
ReStructuredText
========================
|
|
Horizon TestCase Classes
|
|
========================
|
|
|
|
.. module:: horizon.test
|
|
|
|
Horizon provides several useful base classes for testing both views and
|
|
API functions.
|
|
|
|
.. autoclass:: TestCase
|
|
:members:
|
|
|
|
.. autoclass:: APITestCase
|
|
:members:
|
|
|
|
.. autoclass:: BaseAdminViewTests
|
|
:members:
|