diff --git a/apiserver/security/user.py b/apiserver/security/user.py index 5df8957bc0bccae2041e57024ff94de1e610de31..af7e4c71a9aede64352d90038ccdb09dd82b6e7b 100644 --- a/apiserver/security/user.py +++ b/apiserver/security/user.py @@ -45,7 +45,7 @@ class Secret(BaseModel): secret: str = None -class AbstractDBInterface(metaclass=abc.ABCMeta): +class AbstractDBInterface(metaclass=abc.ABCMeta): # pragma: no cover @abc.abstractclassmethod def list(self) -> List: raise NotImplementedError() diff --git a/apiserver/storage/LocationStorage.py b/apiserver/storage/LocationStorage.py index 29169798ad774748f5be10f0c3b97ff202102af6..1b7b0d0fbe5a1b7497222c246c668db22a000ac7 100644 --- a/apiserver/storage/LocationStorage.py +++ b/apiserver/storage/LocationStorage.py @@ -17,7 +17,7 @@ class LocationData(BaseModel): metadata: Optional[Dict[str, str]] -class AbstractLocationDataStorageAdapter: +class AbstractLocationDataStorageAdapter: # pragma: no cover """ This is an abstract storage adapter for storing information about datasets, storage targets and similar things. It can easily be expanded to also store @@ -40,7 +40,7 @@ class AbstractLocationDataStorageAdapter: def get_list(self, n_type: LocationDataType) -> List: """Get a list of all LocationData Elements with the provided type, as pairs of {name : id}""" - raise NotImplementedError() + raise NotImplementedError() def add_new(self, n_type: LocationDataType, data: LocationData, user_name: str): """