mirror of
1
0
Fork 0

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