The nova.tests.test_wsgi Module

Unit tests for nova.wsgi.

class TestLoaderNormalFilesystem(*args, **kwargs)

Bases: nova.test.TestCase

Loader tests with normal filesystem (unmodified os.path module).

setUp()
tearDown()
test_app_found()
test_app_not_found()
test_config_found()
class TestLoaderNothingExists(*args, **kwargs)

Bases: nova.test.TestCase

Loader tests where os.path.exists always returns False.

setUp()
test_config_not_found()
class TestWSGIServer(*args, **kwargs)

Bases: nova.test.TestCase

WSGI server tests.

test_no_app()
test_start_random_port()
test_start_random_port_with_ipv6()
test_uri_length_limit()
class TestWSGIServerWithSSL(*args, **kwargs)

Bases: nova.test.TestCase

WSGI server with SSL tests.

setUp()
test_app_using_ipv6_and_ssl()
test_ssl_server()
test_two_servers()

Previous topic

The nova.tests.test_vmwareapi_vmops Module

Next topic

The nova.tests.test_xenapi Module

This Page