Skip to content

Commit

Permalink
solutions/tests/test_capitalize_string.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ArwaAbdelkhalik committed Jan 12, 2025
1 parent 4f14686 commit 8bab4b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions solutions/tests/test_capitalize_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"""

import unittest


def capitalize_string(s):
"""
Expand All @@ -29,9 +31,6 @@ def capitalize_string(s):
return s.upper()


import unittest


class TestCapitalizeString(unittest.TestCase):
def test_all_lowercase(self):
self.assertEqual(capitalize_string("hello"), "HELLO")
Expand Down

0 comments on commit 8bab4b9

Please sign in to comment.