diff --git a/datagateway_api/common/backends.py b/datagateway_api/common/backends.py index 1cb92aa0..84993b5f 100644 --- a/datagateway_api/common/backends.py +++ b/datagateway_api/common/backends.py @@ -24,7 +24,6 @@ def create_backend(backend_type): elif backend_type == "python_icat": backend = PythonICATBackend() else: - # Might turn to a warning so the abstract class can be tested? sys.exit(f"Invalid config value '{backend_type}' for config option backend") return backend diff --git a/test/test_backends.py b/test/test_backends.py index dc79e7c9..358ada68 100644 --- a/test/test_backends.py +++ b/test/test_backends.py @@ -20,7 +20,9 @@ def test_backend_creation(self, backend_name, backend_type): assert type(test_backend) == backend_type def test_abstract_class(self): - """Test the `Backend` abstract class has all the required classes for the API""" + """ + Test the `Backend` abstract class has all required abstract methods for the API + """ Backend.__abstractmethods__ = set() class DummyBackend(Backend):