Skip to content

Commit 7f38591

Browse files
committed
fix test names for pep8 compliance
1 parent d8d6557 commit 7f38591

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assignments/session01/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def process_log(self):
7373
"Unexpected closing message")
7474
return send_msg, lines
7575

76-
def testShortMessageEcho(self):
76+
def test_short_message_echo(self):
7777
"""test that a message short than 16 bytes echoes cleanly"""
7878
short_message = "short message"
7979
self.send_message(short_message)
@@ -95,7 +95,7 @@ def testShortMessageEcho(self):
9595
actual_line,
9696
"expected {0} got {1}".format(expected_line, actual_line))
9797

98-
def testLongMessageEcho(self):
98+
def test_long_message_echo(self):
9999
"""test that a message longer than 16 bytes echoes in 16-byte chunks"""
100100
long_message = "Four score and seven years ago our fathers did stuff"
101101
self.send_message(long_message)

0 commit comments

Comments
 (0)