Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python2/koans/about_decorating_with_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

# ------------------------------------------------------------------

Expand All @@ -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("<llama/>", self.render_tag('llama'))