Make ``MechDriverSetupBase`` abstract

The class ``MechDriverSetupBase`` is a base class for other testing
classes. Make it explicitly an abstract class although that won't
prevent from instantiating an object of this class.

Trivial-Fix

Change-Id: I0236f5ede20cd1cbc44a5a79013eab12a7843389
This commit is contained in:
Rodolfo Alonso Hernandez 2022-05-12 18:10:02 +00:00 committed by Rodolfo Alonso
parent 44c03ca8e1
commit 5a9695c819
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
# under the License.
#
import abc
import collections
import copy
import datetime
@ -75,7 +76,7 @@ OvnRevNumberRow = collections.namedtuple(
'OvnRevNumberRow', ['created_at'])
class MechDriverSetupBase:
class MechDriverSetupBase(abc.ABC):
def setUp(self):
config.register_common_config_options()
super().setUp()