import jwt
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JLeaf
+from .helper import DashboardTestCase, JObj, JLeaf
class AuthTest(DashboardTestCase):
import six
from contextlib import contextmanager
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JList, JLeaf
+from .helper import DashboardTestCase, JObj, JList, JLeaf
class CephfsTest(DashboardTestCase):
import time
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
class ClusterConfigurationTest(DashboardTestCase):
import six
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JList
+from .helper import DashboardTestCase, JObj, JList
class CrushRuleTest(DashboardTestCase):
import six
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JList
+from .helper import DashboardTestCase, JObj, JList
class ECPTest(DashboardTestCase):
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
class GaneshaTest(DashboardTestCase):
# -*- coding: utf-8 -*-
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase, JAny, JLeaf, JList, JObj
+from .helper import DashboardTestCase, JAny, JLeaf, JList, JObj
class HealthTest(DashboardTestCase):
from __future__ import absolute_import
import json
-from tasks.mgr.dashboard.helper import DashboardTestCase, JList, JObj
-from tasks.mgr.dashboard.test_orchestrator import test_data
+from .helper import DashboardTestCase, JList, JObj
+from .test_orchestrator import test_data
class HostControllerTest(DashboardTestCase):
# -*- coding: utf-8 -*-
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase, JList, JObj
+from .helper import DashboardTestCase, JList, JObj
class LogsTest(DashboardTestCase):
import logging
import requests
-from tasks.mgr.dashboard.helper import DashboardTestCase, JAny, JObj, JList, JLeaf
+from .helper import DashboardTestCase, JAny, JObj, JList, JLeaf
logger = logging.getLogger(__name__)
# -*- coding: utf-8 -*-
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
class MonitorTest(DashboardTestCase):
from __future__ import absolute_import
import json
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
test_data = {
import json
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JAny, JList, JLeaf, JTuple
+from .helper import DashboardTestCase, JObj, JAny, JList, JLeaf, JTuple
class OsdTest(DashboardTestCase):
# -*- coding: utf-8 -*-
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj
+from .helper import DashboardTestCase, JObj
class PerfCountersControllerTest(DashboardTestCase):
import time
from contextlib import contextmanager
-from tasks.mgr.dashboard.helper import DashboardTestCase, JAny, JList, JObj
+from .helper import DashboardTestCase, JAny, JList, JObj
log = logging.getLogger(__name__)
import time
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JLeaf, JList
+from .helper import DashboardTestCase, JObj, JLeaf, JList
class RbdTest(DashboardTestCase):
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
class RbdMirroringTest(DashboardTestCase):
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
class RequestsTest(DashboardTestCase):
from cryptography.hazmat.primitives.twofactor.totp import TOTP
from cryptography.hazmat.primitives.hashes import SHA1
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JList, JLeaf
+from .helper import DashboardTestCase, JObj, JList, JLeaf
logger = logging.getLogger(__name__)
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
class RoleTest(DashboardTestCase):
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase, JList, JObj, JAny
+from .helper import DashboardTestCase, JList, JObj, JAny
class SettingsTest(DashboardTestCase):
from __future__ import absolute_import
-from tasks.mgr.dashboard.helper import DashboardTestCase
+from .helper import DashboardTestCase
class SummaryTest(DashboardTestCase):
from datetime import datetime, timedelta
-from tasks.mgr.dashboard.helper import DashboardTestCase, JObj, JLeaf
+from .helper import DashboardTestCase, JObj, JLeaf
class UserTest(DashboardTestCase):