1
0
Fork 0
mirror of synced 2024-12-21 21:51:08 -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