"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "masakari/tests/unit/cmd/test_masakari_api.py" between
masakari-8.0.0.tar.gz and masakari-9.0.0.tar.gz

About: OpenStack Masakari provides "Instances High Availability Service" for OpenStack clouds by automatically recovering failed Instances (currently for KVM-based Virtual Machine(VM)s).
The "Ussuri" series (latest release).

test_masakari_api.py  (masakari-8.0.0):test_masakari_api.py  (masakari-9.0.0)
skipping to change at line 14 skipping to change at line 14
# 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 from unittest import mock
from masakari.cmd import api from masakari.cmd import api
from masakari import config from masakari import config
from masakari import exception from masakari import exception
from masakari import test from masakari import test
@mock.patch.object(config, 'parse_args', new=lambda *args, **kwargs: None) @mock.patch.object(config, 'parse_args', new=lambda *args, **kwargs: None)
class TestMasakariAPI(test.NoDBTestCase): class TestMasakariAPI(test.NoDBTestCase):
def test_continues_without_failure(self): def test_continues_without_failure(self):
 End of changes. 1 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)