Coverage for e2xgrader/extensions/base.py: 73%
15 statements
« prev ^ index » next coverage.py v7.4.2, created at 2024-03-14 13:22 +0100
« prev ^ index » next coverage.py v7.4.2, created at 2024-03-14 13:22 +0100
1from abc import abstractmethod
3from traitlets.config import LoggingConfigurable
6class BaseExtensionManager(LoggingConfigurable):
7 @abstractmethod
8 def deactivate(self, sys_prefix: bool = True, user: bool = False) -> None:
9 pass
11 @abstractmethod
12 def activate_teacher(self, sys_prefix: bool = True, user: bool = False) -> None:
13 pass
15 @abstractmethod
16 def activate_student(self, sys_prefix: bool = True, user: bool = False) -> None:
17 pass
19 @abstractmethod
20 def activate_student_exam(self, sys_prefix=True, user=False):
21 pass