Skip to content

Commit df75b3d

Browse files
committed
FinishedDecoratingWithFunctions
1 parent 690fd5a commit df75b3d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python2/koans/about_decorating_with_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def mediocre_song(self):
1414
return "o/~ We all live in a broken submarine o/~"
1515

1616
def test_decorators_can_modify_a_function(self):
17-
self.assertMatch(__, self.mediocre_song())
18-
self.assertEqual(__, self.mediocre_song.wow_factor)
17+
self.assertMatch("o/~ We all live in a broken submarine o/~", self.mediocre_song())
18+
self.assertEqual('COWBELL BABY!', self.mediocre_song.wow_factor)
1919

2020
# ------------------------------------------------------------------
2121

@@ -29,4 +29,4 @@ def render_tag(self, name):
2929
return name
3030

3131
def test_decorators_can_change_a_function_output(self):
32-
self.assertEqual(__, self.render_tag('llama'))
32+
self.assertEqual('<llama/>', self.render_tag('llama'))

0 commit comments

Comments
 (0)