devref: fixed class name for test_migrations autodocumentation

The file name is different, so documentation was not properly generated
before.

Also fixed a docstring not to issue sphinx warning due to incorrect
indentation.

Change-Id: I48ab899077458d99eee6f643577d574106c1ca88
This commit is contained in:
Ihar Hrachyshka 2015-02-20 14:54:43 +01:00 committed by Henry Gessau
parent e2452857cc
commit 9f947dc5dd
2 changed files with 9 additions and 10 deletions

View File

@ -5,7 +5,7 @@ Neutron Database Layer
Tests to verify that database migrations and models are in sync
---------------------------------------------------------------
.. automodule:: neutron.tests.functional.db.test_migration
.. automodule:: neutron.tests.functional.db.test_migrations
.. autoclass:: _TestModelsMigrations
:members:

View File

@ -111,15 +111,14 @@ class _TestModelsMigrations(test_migrations.ModelsMigrationsSync):
* ``add_*`` means that it is missing in db;
* ``modify_*`` means that on column in db is set wrong
type/nullable/server_default. Element contains information:
* what should be modified,
* schema,
* table,
* column,
* existing correct column parameters,
* right value,
* wrong value.
type/nullable/server_default. Element contains information:
- what should be modified,
- schema,
- table,
- column,
- existing correct column parameters,
- right value,
- wrong value.
'''
def setUp(self):