Bug 1041082 - [RFE][nova]: Fix context/admin_context in nova/tests/test_db_api
Summary: [RFE][nova]: Fix context/admin_context in nova/tests/test_db_api
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:35 UTC by RHOS Integration
Modified: 2015-03-19 17:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:30:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.