Skip to content

Commit

Permalink
Update test_check_root.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Dec 20, 2024
1 parent 178f162 commit cd198dc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kyu_7/always_perfect/test_check_root.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,22 @@ def test_check_root(self,string, expected):
in string format and returns the number which is a
perfect square and the square root of that number.
If string contains other characters than number or
If string contains other characters than number, or
it has more or less than 4 numbers separated by comma
function returns "incorrect input".
function returns 'incorrect input'.
If string contains 4 numbers but not consecutive it
returns "not consecutive".
returns 'not consecutive'.
:return:
"""
# pylint: disable-msg=R0801
allure.dynamic.title("Testing check_root function")
allure.dynamic.severity(allure.severity_level.NORMAL)
allure.dynamic.description_html(
'<h3>Codewars badge:</h3>'
'<img src="https://www.codewars.com/users/myFirstCode'
'/badges/large">'
'<img src="'
'https://www.codewars.com/users/myFirstCode/badges/large'
'">'
'<h3>Test Description:</h3>'
"<p></p>")
# pylint: enable-msg=R0801
Expand Down

0 comments on commit cd198dc

Please sign in to comment.