diff options
Diffstat (limited to 'TESTING.rst')
-rw-r--r-- | TESTING.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/TESTING.rst b/TESTING.rst index b0184d6504..34d62b1b48 100644 --- a/TESTING.rst +++ b/TESTING.rst @@ -368,6 +368,12 @@ Tests for other resources should be contributed to the Neutron repository. Scenario tests should be similarly split up between Tempest and Neutron according to the API they're targeting. +To create an API test, the testing class must at least inherit from +neutron.tests.tempest.api.base.BaseNetworkTest base class. As some of tests +may require certain extensions to be enabled, the base class provides +``required_extensions`` class attribute which can be used by subclasses to +define a list of required extensions for particular test class. + Scenario Tests ~~~~~~~~~~~~~~ |