Bases: glance.tests.unit.base.IsolatedUnitTest
Test routines in glance.common.location_strategy.location_order
Bases: glance.tests.unit.base.IsolatedUnitTest
Test routines in glance.common.location_strategy
Bases: glance.tests.unit.base.IsolatedUnitTest
Test routines in glance.common.location_strategy.store_type
Bases: object
Fake resource defining some methods that will be called later by the api.
Bases: glance.tests.utils.BaseTestCase
Test routines in glance.utils
Ensure cooperative reader supports iterator backends too
Ensure cooperative reader supports iterator backends too
Bases: glance.tests.utils.BaseTestCase
Verifies that data is the same after being passed through headers
Verifies that the headers returned by conversion code are unicode.
Headers are passed via http in non-testing mode, which automatically converts them to unicode. Verifying that the method does the conversion proves that we aren’t passing data that works in tests but will fail in production.