Skip to content

Commit

Permalink
[fix:test] Correct tests for utils.p
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu1nel committed Mar 19, 2024
1 parent db26cb5 commit 6c9851e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ def test_normal_prompt_2(self) -> None:
input_text = "Input"
result_output = f"Enter your text: {input_text}\n"
result = runner.invoke(cli, input=input_text)
assert not result.exception
assert result.output == f"{result_output}Original: {input_text}\nTranslated: Вход\n"

def test_normal_prompt_3(self) -> None:
runner = CliRunner()
input_text = "Fox and dog"
result_output = f"Enter your text: {input_text}\n"
result = runner.invoke(cli, input=input_text)
assert not result.exception
assert result.output == f"{result_output}Original: {input_text}\nTranslated: Лиса и собака\n"

def test_wrong_1(self) -> None:
Expand Down

0 comments on commit 6c9851e

Please sign in to comment.