)]}'
{"nova/tests/unit/policies/test_networks.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"dfd73d292369904aa2498d64b11287946499c4a7","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        # NOTE: Nova cannot verify the networks owner during nova policy"},{"line_number":36,"context_line":"        # enforcement so will be passing context\u0027s project_id as target to"},{"line_number":37,"context_line":"        # policy and always pass. If requester is not admin or owner"},{"line_number":38,"context_line":"        # of networks then neutron will be returning the appropriate error."},{"line_number":39,"context_line":"        self.everyone_authorized_contexts \u003d ["},{"line_number":40,"context_line":"            self.legacy_admin_context, self.system_admin_context,"},{"line_number":41,"context_line":"            self.project_admin_context, self.project_member_context,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f560f44_72abb51c","line":38,"updated":"2020-07-28 11:02:50.000000000","message":"thanks for the context ++","commit_id":"ff9d31b33326bf1fde417db94f3cb2b2e24441f4"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"dfd73d292369904aa2498d64b11287946499c4a7","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        ]"},{"line_number":48,"context_line":"        self.everyone_unauthorized_contexts \u003d []"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    @mock.patch(\u0027nova.network.neutron.API.get_all\u0027)"},{"line_number":51,"context_line":"    def test_list_networks_policy(self, mock_get):"},{"line_number":52,"context_line":"        rule_name \u003d \"os_compute_api:os-networks:view\""},{"line_number":53,"context_line":"        self.common_policy_check(self.everyone_authorized_contexts,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f560f44_92676926","line":50,"updated":"2020-07-28 11:02:50.000000000","message":"might be useful to check that this was called to ensure we\u0027re mocking the correct thing :)","commit_id":"ff9d31b33326bf1fde417db94f3cb2b2e24441f4"}]}
