Coverage for engine/base_engine.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-03-09 21:08 +0000

1"""This module implements the Engine class, 

2which is responsible for creating engine objects.""" 

3 

4from abc import ABC, abstractmethod 

5 

6class Engine(ABC): 

7 """This class is responsible for creating different types of engine objects. 

8 """ 

9 @abstractmethod 

10 def needs_service(self): 

11 """Determines if the engine should be serviced. 

12 

13 This method Needs to be implemented by the subclass. 

14 """