]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: remove unit test inheritance
authorMichael Fritch <mfritch@suse.com>
Thu, 10 Jun 2021 22:38:15 +0000 (16:38 -0600)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 17 Jun 2021 08:47:01 +0000 (10:47 +0200)
avoid running the `TestCephAdm` tests twice

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 9939573adb60aa999ea7e6233d71ed119c058d7a)

src/cephadm/tests/test_cephadm.py

index 6b0560f4014b3fa932095cdb57a44925433963d1..2f9543688583191c3211ac77bc18961453181d9c 100644 (file)
@@ -1004,7 +1004,7 @@ class TestMonitoring(object):
         assert mock.call().__enter__().write('bar') in _open.mock_calls
 
 
-class TestBootstrap(TestCephAdm):
+class TestBootstrap(object):
 
     @staticmethod
     def _get_cmd(*args):