Unit tests for nova.wsgi.
-
class nova.tests.test_wsgi.TestLoaderNormalFilesystem(methodName='runTest')
Bases: unittest.case.TestCase
Loader tests with normal filesystem (unmodified os.path module).
-
setUp()
-
tearDown()
-
test_app_found()
-
test_app_not_found()
-
test_config_found()
-
class nova.tests.test_wsgi.TestLoaderNothingExists(methodName='runTest')
Bases: unittest.case.TestCase
Loader tests where os.path.exists always returns False.
-
setUp()
-
tearDown()
-
test_config_not_found()
-
class nova.tests.test_wsgi.TestWSGIServer(methodName='runTest')
Bases: unittest.case.TestCase
WSGI server tests.
-
test_no_app()
-
test_start_random_port()