Skip to content

Commit

Permalink
test: remove streamed from test class names
Browse files Browse the repository at this point in the history
  • Loading branch information
Danthewaann committed Mar 10, 2024
1 parent e0a668c commit 62b8904
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def prettify_error(out: str) -> str:
PREFIX = "=> "


class TestStreamedMode:
"""Test streamed mode with interactivity
class TestInteractiveMode:
"""Test interactive mode that re-writes terminal output
NOTE: These tests can only verify the exit code consistently
as terminal output is re-written which isn't easy to consistently assert against
Expand Down Expand Up @@ -156,7 +156,7 @@ def test_handles_multiple_signals(self, signal: int, exit_code: int) -> None:
assert process.wait() == exit_code


class TestStreamedNonInteractiveMode:
class TestNonInteractiveMode:
def test_run_single_command(self, capsys: CaptureFixture[str]) -> None:
exit_code = main.run("echo hi", "-n", "-t")
captured = capsys.readouterr()
Expand Down

0 comments on commit 62b8904

Please sign in to comment.