Skip to content

Commit

Permalink
Rename tests to new nomenclature of PR #647
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Kochems authored and Jacob Kochems committed Sep 19, 2023
2 parents 42cf404 + 6ff12c8 commit 2ade3dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions tests/test_enable_rich.py → tests/test_set_rich_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from pathlib import Path


def test_enable_rich_help_is_false():
file_path = Path(__file__).parent / "assets/enable_rich.py"
def test_set_rich_help_false_outputs_plain_text():
file_path = Path(__file__).parent / "assets/set_rich_help.py"
result = subprocess.run(
[sys.executable, "-m", "coverage", "run", str(file_path), "--help"],
stdout=subprocess.PIPE,
Expand All @@ -15,8 +15,8 @@ def test_enable_rich_help_is_false():
assert "─" not in result.stdout


def test_enable_rich_traceback_is_false():
file_path = Path(__file__).parent / "assets/enable_rich_traceback_false.py"
def test_set_rich_traceback_false_outputs_plain_text():
file_path = Path(__file__).parent / "assets/set_rich_traceback.py"
result = subprocess.run(
[sys.executable, "-m", "coverage", "run", str(file_path)],
stdout=subprocess.PIPE,
Expand Down

0 comments on commit 2ade3dc

Please sign in to comment.