From 717176ad18604cca5341d7a6ae2d28ccb4a084c2 Mon Sep 17 00:00:00 2001 From: Aleks Kamko Date: Fri, 26 Feb 2016 22:05:39 -0800 Subject: [PATCH] Update plugin tests for defaults feature --- test/tests/plugin-dir.bash | 2 +- test/tests/plugin.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests/plugin-dir.bash b/test/tests/plugin-dir.bash index 299f144..a53f3ea 100644 --- a/test/tests/plugin-dir.bash +++ b/test/tests/plugin-dir.bash @@ -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 diff --git a/test/tests/plugin.bash b/test/tests/plugin.bash index 960e9ce..bc46f75 100644 --- a/test/tests/plugin.bash +++ b/test/tests/plugin.bash @@ -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