Skip to content

Commit 6819908

Browse files
committed
Merge pull request gregmalcolm#26 from akshaydandekar/patch-1
There is a minor error in the python 'about proxy object project' test code that needs correction as listed below.
2 parents 3f3c319 + d4a0ab9 commit 6819908

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python2/koans/about_proxy_object_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_proxy_records_messages_sent_to_tv(self):
5353
tv.power()
5454
tv.channel = 10
5555

56-
self.assertEqual(['power', 'channel='], tv.messages())
56+
self.assertEqual(['power', 'channel'], tv.messages())
5757

5858
def test_proxy_handles_invalid_messages(self):
5959
tv = Proxy(Television())
@@ -83,7 +83,7 @@ def test_proxy_counts_method_calls(self):
8383
tv.power()
8484

8585
self.assertEqual(2, tv.number_of_times_called('power'))
86-
self.assertEqual(1, tv.number_of_times_called('channel='))
86+
self.assertEqual(1, tv.number_of_times_called('channel'))
8787
self.assertEqual(0, tv.number_of_times_called('is_on'))
8888

8989
def test_proxy_can_record_more_than_just_tv_objects(self):

0 commit comments

Comments
 (0)