]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/tests/test_rbd_mirroring.py
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / tests / test_rbd_mirroring.py
index ecb4856dc193fbc7f38e65d5a18536762cc1211b..9f83bad83e1236ed0601d85cb488bf000ed89100 100644 (file)
@@ -1,18 +1,17 @@
 from __future__ import absolute_import
 
 import json
+
 try:
     import mock
 except ImportError:
     import unittest.mock as mock
 
-from . import ControllerTestCase
 from .. import mgr
+from ..controllers.rbd_mirroring import RbdMirroring, RbdMirroringPoolBootstrap, RbdMirroringSummary
 from ..controllers.summary import Summary
-from ..controllers.rbd_mirroring import RbdMirroring, RbdMirroringSummary, \
-    RbdMirroringPoolBootstrap
 from ..services import progress
-
+from . import ControllerTestCase  # pylint: disable=no-name-in-module
 
 mock_list_servers = [{
     'hostname': 'ceph-host',
@@ -137,7 +136,7 @@ class RbdMirroringSummaryControllerTest(ControllerTestCase):
             'mgr_map': {
                 'services': {
                     'dashboard': 'https://ceph.dev:11000/'
-                    },
+                },
             }
         }[key]
         mgr.url_prefix = ''