Skip to content

Commit ef3563d

Browse files
committed
Merge pull request gregmalcolm#27 from akshaydandekar/master
There is a minor error in the python 'about proxy object project' test code that needs correction as listed below.
2 parents 6819908 + 2e66e53 commit ef3563d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python3/koans/about_proxy_object_project.py

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

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

5656
def test_proxy_handles_invalid_messages(self):
5757
tv = Proxy(Television())
@@ -78,7 +78,7 @@ def test_proxy_counts_method_calls(self):
7878
tv.power()
7979

8080
self.assertEqual(2, tv.number_of_times_called('power'))
81-
self.assertEqual(1, tv.number_of_times_called('channel='))
81+
self.assertEqual(1, tv.number_of_times_called('channel'))
8282
self.assertEqual(0, tv.number_of_times_called('is_on'))
8383

8484
def test_proxy_can_record_more_than_just_tv_objects(self):

0 commit comments

Comments
 (0)