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_objectstore Module

Unittets for S3 objectstore clone.

class nova.tests.test_objectstore.S3APITestCase(methodName='runTest')

Bases: nova.test.TestCase

Test objectstore through S3 API.

setUp()

Setup users, projects, and start a test server.

tearDown()

Tear down test server.

test_create_and_delete_bucket()

Test bucket creation and deletion.

test_create_bucket_and_key_and_delete_key_again()

Test key operations on buckets.

test_list_buckets()

Make sure we are starting with no buckets.

test_unknown_bucket()