From: Ihar Hrachyshka Date: Fri, 20 Feb 2015 13:54:43 +0000 (+0100) Subject: devref: fixed class name for test_migrations autodocumentation X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9f947dc5ddd56ffb770bfc65b96c1a60000e787c;p=openstack-build%2Fneutron-build.git 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 --- diff --git a/doc/source/devref/db_layer.rst b/doc/source/devref/db_layer.rst index d0d7bd521..0ddd94ea1 100644 --- a/doc/source/devref/db_layer.rst +++ b/doc/source/devref/db_layer.rst @@ -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: diff --git a/neutron/tests/functional/db/test_migrations.py b/neutron/tests/functional/db/test_migrations.py index 8c831230a..05d1fac1d 100644 --- a/neutron/tests/functional/db/test_migrations.py +++ b/neutron/tests/functional/db/test_migrations.py @@ -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):