Completed
Push — master ( 6fd567...f65269 )
by Daniel
90:27 queued 15s
created

RecipePlugin.deactivate()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
c 1
b 1
f 0
dl 0
loc 2
rs 10
1
import os
2
from groundwork.patterns import GwRecipesPattern
3
4
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