Total Complexity | 3 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | import os |
||
5 | class RecipePlugin(GwRecipesPattern): |
||
6 | def __init__(self, *args, **kwargs): |
||
7 | self.name = self.__class__.__name__ |
||
8 | super().__init__(*args, **kwargs) |
||
9 | |||
10 | def activate(self): |
||
11 | self.recipes.register("test_recipe", |
||
12 | os.path.join(os.path.dirname(__file__), "../recipes/gw_test_app"), |
||
13 | "test recipe") |
||
14 | |||
15 | def deactivate(self): |
||
16 | pass |
||
17 |