This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.tests.test_wsgi Module

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()