Bug 1041082

Summary: [RFE][nova]: Fix context/admin_context in nova/tests/test_db_api
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/db-api-tests-fix-context
Whiteboard: upstream_milestone_none upstream_status_started upstream_definition_drafting
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:30:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:35:34 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/db-api-tests-fix-context.

Description:

Some methods in nova.db.sqlalchemy.api requires admin_context, some methods requires non admin context. Almost all tests in nova.tests.test_db_api uses admin_context, and there is no tests for context/admin_context difference. These tests should be implemented.

Specification URL (additional information):

None