"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "monasca_api/tests/policy/test_policy.py" between
monasca-api-3.1.0.tar.gz and monasca-api-4.0.0.tar.gz

About: OpenStack Monasca API is a RESTful API server that is designed with a layered architecture and supports Monitoring as a Service (MONaaS).
The "Ussuri" series (latest release).

test_policy.py  (monasca-api-3.1.0):test_policy.py  (monasca-api-4.0.0)
skipping to change at line 17 skipping to change at line 17
# a copy of the License at # a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import mock
import requests_mock import requests_mock
from unittest import mock
from oslo_context import context from oslo_context import context
from oslo_policy import policy as os_policy from oslo_policy import policy as os_policy
from monasca_api.common.policy import policy_engine from monasca_api.common.policy import policy_engine
from monasca_api.tests.policy import base from monasca_api.tests.policy import base
class PolicyFileTestCase(base.BaseTestCase): class PolicyFileTestCase(base.BaseTestCase):
def setUp(self): def setUp(self):
super(PolicyFileTestCase, self).setUp() super(PolicyFileTestCase, self).setUp()
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)