Skip to content

Commit

Permalink
Fixing the test_calc_position test funcion
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvins committed Sep 19, 2017
1 parent a4ea4c2 commit c3027f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/logo_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_calc_position(self):
expected_y = [25, 0, 0, 0, 25, 50, 50, 50, 25]
position = ["center", "top_left", "top_center", "top_right", "center_right", "bottom_right", "bottom_center", "bottom_left", "center_left"]

for index in range(x):
for index in range(len(expected_x)):
logo.position = position[index]
x, y = logo.calc_position(image_size, logo_size)
self.assertEqual(x, expected_x[index])
Expand Down

0 comments on commit c3027f4

Please sign in to comment.