)]}'
{"nova/tests/unit/policies/test_attach_interfaces.py":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"e4f7439984edc29fd2e647d2f908951ffef8f969","unresolved":false,"context_lines":[{"line_number":111,"context_line":"    \"\"\"Test Attach Interfaces APIs policies with system scope enabled."},{"line_number":112,"context_line":"    This class set the nova.conf [oslo_policy] enforce_scope to True"},{"line_number":113,"context_line":"    so that we can switch on the scope checking on oslo policy side."},{"line_number":114,"context_line":"    It defines the set of context with scopped token"},{"line_number":115,"context_line":"    which are allowed and not allowed to pass the policy checks."},{"line_number":116,"context_line":"    With those set of context, it will run the API operation and"},{"line_number":117,"context_line":"    verify the expected behaviour."}],"source_content_type":"text/x-python","patch_set":8,"id":"3fa7e38b_84b94217","line":114,"range":{"start_line":114,"start_character":39,"end_line":114,"end_character":46},"updated":"2020-02-06 01:00:09.000000000","message":"scoped","commit_id":"0504edbd67d505c74d658804c8951e48626b0923"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"567094036804804b685601c1519308dea398d012","unresolved":false,"context_lines":[{"line_number":38,"context_line":"            fixtures.MockPatch(\u0027nova.api.openstack.common.get_instance\u0027)).mock"},{"line_number":39,"context_line":"        uuid \u003d uuids.fake_id"},{"line_number":40,"context_line":"        self.instance \u003d fake_instance.fake_instance_obj("},{"line_number":41,"context_line":"                self.project_member_context,"},{"line_number":42,"context_line":"                id\u003d1, uuid\u003duuid, project_id\u003dself.project_id,"},{"line_number":43,"context_line":"                vm_state\u003dvm_states.ACTIVE,"},{"line_number":44,"context_line":"                task_state\u003dNone, launched_at\u003dtimeutils.utcnow())"},{"line_number":45,"context_line":"        self.mock_get.return_value \u003d self.instance"},{"line_number":46,"context_line":"        self.admin_authorized_contexts \u003d ["},{"line_number":47,"context_line":"            self.legacy_admin_context, self.system_admin_context,"}],"source_content_type":"text/x-python","patch_set":9,"id":"1fa4df85_f56497bb","line":44,"range":{"start_line":41,"start_character":16,"end_line":44,"end_character":64},"updated":"2020-02-26 06:47:58.000000000","message":"nit:Incorrect indentation","commit_id":"9099f0b22d5f40ac015ae64518c1134e397af813"}]}
