]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: fix import error 67201/head
authorNizamudeen A <nia@redhat.com>
Wed, 4 Feb 2026 06:39:46 +0000 (12:09 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 5 Feb 2026 00:42:44 +0000 (06:12 +0530)
```
2026-02-04 06:04:16,385.385 INFO:__main__:    from .helper import DashboardTestCase, MgrModuleTestCase
2026-02-04 06:04:16,385.385 INFO:__main__:ImportError: cannot import name 'MgrModuleTestCase' from 'tasks.mgr.dashboard.helper' (/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/helper.py)
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
qa/tasks/mgr/dashboard/test_feedback.py

index 7a72f5211978032d79e5598e62790a84430dfe95..1a5a66154e100e803773efeb5045899372bf99e8 100644 (file)
@@ -1,9 +1,7 @@
-import time
+from .test_mgr_module import MgrModuleTestCase
 
-from .helper import DashboardTestCase, MgrModuleTestCase
 
-
-class FeedbackTest(DashboardTestCase, MgrModuleTestCase):
+class FeedbackTest(MgrModuleTestCase):
 
     @classmethod
     def setUpClass(cls):
@@ -11,9 +9,9 @@ class FeedbackTest(DashboardTestCase, MgrModuleTestCase):
         cls._ceph_cmd(['mgr', 'module', 'enable', 'feedback'], wait=3)
         cls._get(
             '/api/mgr/module',
-            retries=2,
+            retries=5,
             wait_func=lambda:  # pylint: disable=unnecessary-lambda
-            cls.wait_until_rest_api_accessible()
+            MgrModuleTestCase.wait_until_rest_api_accessible(cls)
         )
 
     def test_create_api_key(self):