From 6d0280261356f19b23f46e2ed45b2f5ab98dacfa Mon Sep 17 00:00:00 2001 From: Steven Desvars Date: Tue, 17 Mar 2020 21:58:01 -0300 Subject: [PATCH] Completed the about_decorating_with_functions koan --- python2/koans/about_decorating_with_functions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python2/koans/about_decorating_with_functions.py b/python2/koans/about_decorating_with_functions.py index c2bfe28f4..f8a9806f9 100644 --- a/python2/koans/about_decorating_with_functions.py +++ b/python2/koans/about_decorating_with_functions.py @@ -14,8 +14,8 @@ def mediocre_song(self): return "o/~ We all live in a broken submarine o/~" def test_decorators_can_modify_a_function(self): - self.assertMatch(__, self.mediocre_song()) - self.assertEqual(__, self.mediocre_song.wow_factor) + self.assertMatch("o/~ We all live in a broken submarine o/~", self.mediocre_song()) + self.assertEqual('COWBELL BABY!', self.mediocre_song.wow_factor) # ------------------------------------------------------------------ @@ -29,4 +29,4 @@ def render_tag(self, name): return name def test_decorators_can_change_a_function_output(self): - self.assertEqual(__, self.render_tag('llama')) + self.assertEqual("", self.render_tag('llama'))