Skip to content

Commit 648dd69

Browse files
committed
doc: updated the docstrings slightly
1 parent b08bd07 commit 648dd69

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/exts/fun/test_yoda.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
@patch("bot.exts.fun.yodaify.Yodaify.yodaify", new_callable=AsyncMock)
88
async def test_yodaify_command_is_called(mock_yodaify):
99
"""
10-
Requirement 1: Bot-command
11-
When a user writes .yoda <text> it runs the function.
10+
Requirement 1 Bot-command: When a user writes .yoda <text> it runs the function.
1211
"""
1312
ctx = AsyncMock()
1413

@@ -44,7 +43,6 @@ async def yodaify_conversion_helper(text, converted_text):
4443

4544
@pytest.mark.asyncio
4645
async def test_yodaify_conversion_1():
47-
4846
await yodaify_conversion_helper("I like trains.", ">>> " + "Trains, I like.")
4947

5048

@@ -74,7 +72,7 @@ async def test_yodaify_invalid_sentecne():
7472
@pytest.mark.asyncio
7573
async def test_yodaify_multiple_sentances():
7674
"""
77-
Requirement 9 Multiple sentences:
75+
Requirement 9 Multiple sentences: If there are multiple sentences in the input, they should be converted separately.
7876
"""
7977
await yodaify_conversion_helper("I like trains. I am driving a car. She likes my new van.", ">>> " + "Trains, I like. Driving a car, I am. My new van, she likes.")
8078

0 commit comments

Comments
 (0)