Skip to content

Commit b1486a1

Browse files
committed
Improve spacing in chaitanas-colossal-coaster
1 parent 650a597 commit b1486a1

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

exercises/concept/chaitanas-colossal-coaster/list_methods_test.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def test_add_me_to_the_queue_express_queue(self):
3838
def test_find_my_friend_start_of_queue(self):
3939
params = (["Natasha", "Steve", "Tchalla", "Wanda", "Rocket"], "Natasha")
4040
result = 0
41+
4142
self.assertEqual(
4243
find_my_friend(*params), result,
4344
msg="The index of the friend to find is incorrect."
@@ -88,9 +89,10 @@ def test_add_me_with_my_friends_end_of_queue(self):
8889
params = (["Natasha", "Steve", "Tchalla", "Wanda", "Rocket"], 5, "Bucky")
8990
result = ["Natasha", "Steve", "Tchalla", "Wanda", "Rocket", "Bucky"]
9091

91-
self.assertListEqual(add_me_with_my_friends(*params), result,
92-
msg="The person was added to the wrong location in the queue or was not added at all"
93-
)
92+
self.assertListEqual(
93+
add_me_with_my_friends(*params), result,
94+
msg="The person was added to the wrong location in the queue or was not added at all"
95+
)
9496

9597
@pytest.mark.task(taskno=4)
9698
def test_remove_the_mean_person_middle_of_queue(self):
@@ -136,6 +138,7 @@ def test_how_many_namefellows_person_not_in_queue(self):
136138
def test_how_many_namefellows_only_one(self):
137139
params = (["Natasha", "Steve", "Ultron", "Rocket"], "Natasha")
138140
result = 1
141+
139142
self.assertIs(
140143
how_many_namefellows(*params), result,
141144
msg="The namefellow count is incorrect"
@@ -166,6 +169,7 @@ def test_sorted_names(self):
166169
params = ["Steve", "Ultron", "Natasha", "Rocket"]
167170
result = ["Natasha", "Rocket", "Steve", "Ultron"]
168171

169-
self.assertListEqual(sorted_names(params), result,
170-
msg="The queue was not properly sorted"
171-
)
172+
self.assertListEqual(
173+
sorted_names(params), result,
174+
msg="The queue was not properly sorted"
175+
)

0 commit comments

Comments
 (0)