1
0
Fork 0
mirror of synced 2024-11-17 22:15:35 -05:00

Update plugin tests for defaults feature

This commit is contained in:
Aleks Kamko 2016-02-26 22:05:39 -08:00
parent 74637f0ca0
commit 717176ad18
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ class Test(dotbot.Plugin):
def can_handle(self, directive):
return directive == "test"
def handle(self, directive, data):
def handle(self, directive, data, defaults):
with open(os.path.expanduser("~/flag"), "w") as f:
f.write("it works")
return True

View file

@ -10,7 +10,7 @@ class Test(dotbot.Plugin):
def can_handle(self, directive):
return directive == "test"
def handle(self, directive, data):
def handle(self, directive, data, defaults):
with open(os.path.expanduser("~/flag"), "w") as f:
f.write("it works")
return True