Skip to content

Commit

Permalink
Update test_solution.py
Browse files Browse the repository at this point in the history
Variable name ls doesn't conform to snake_case naming style New
        for ls, expected in test_data:
Severity: InfoFound in kyu_6/sums_of_parts/test_solution.py by pylint
  • Loading branch information
ikostan committed Nov 24, 2024
1 parent 0b88681 commit 43f88dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kyu_6/sums_of_parts/test_solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ def test_sjf(self):
[10037855, 9293730, 9292795, 9292388, 9291934, 9291504, 9291414,
9291270, 2581057, 2580168, 2579358, 0]))

for ls, expected in test_data:
actual_result = parts_sums(ls)
for input_ls, expected in test_data:
actual_result = parts_sums(input_ls)
# pylint: disable-msg=R0801
with allure.step(f"Enter a list ls ({ls}) and verify the "
with allure.step(f"Enter a list ls ({input_ls}) and verify the "
f"expected output ({expected}) vs "
f"actual result ({actual_result})"):

print_log(ls=ls,
print_log(input_ls=input_ls,
expected=expected,
result=actual_result)

Expand Down

0 comments on commit 43f88dc

Please sign in to comment.