Skip to content

Commit

Permalink
Update test_generate_hashtag.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Dec 14, 2024
1 parent fe878dd commit 4feb47f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions kyu_5/the_hashtag_generator/test_generate_hashtag.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,9 @@ class GenerateHashtagTestCase(unittest.TestCase):
"""Testing generate_hashtag function."""

@parameterized.expand(
[('', False,
'Expected an empty string to return False'),
('Codewars',
'#Codewars',
'Should handle a single word.'),
('Codewars ',
'#Codewars',
'Should handle trailing whitespace.'),
[('', False, 'Expected an empty string to return False'),
('Codewars', '#Codewars', 'Should handle a single word.'),
('Codewars ', '#Codewars', 'Should handle trailing whitespace.'),
('Codewars Is Nice',
'#CodewarsIsNice',
'Should remove spaces.'),
Expand Down

0 comments on commit 4feb47f

Please sign in to comment.