]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
devref: fixed class name for test_migrations autodocumentation
authorIhar Hrachyshka <ihrachys@redhat.com>
Fri, 20 Feb 2015 13:54:43 +0000 (14:54 +0100)
committerHenry Gessau <gessau@cisco.com>
Mon, 23 Feb 2015 18:48:01 +0000 (18:48 +0000)
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

doc/source/devref/db_layer.rst
neutron/tests/functional/db/test_migrations.py

index d0d7bd52105585ce9e3d24e89a03a00c94789a9e..0ddd94ea1033c057d99483a47092041e742fef92 100644 (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:
index 8c831230a71f72d02bd7de2d87db253298b87b27..05d1fac1d68dda40cffe42df2b83f93159a6c787 100644 (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):