Skip to content

Commit 5e49539

Browse files
committed
Remove skip marker from test_cat_subset_warn_on_missing_pages and assert warning in stderr
1 parent 30a37c7 commit 5e49539

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_cat.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def test_cat_subset_invalid_args(capsys, tmp_path, page_range):
7171
assert "Invalid file path or page range provided" in captured.err
7272

7373

74-
@pytest.mark.skip(reason="This check is not implemented yet")
7574
def test_cat_subset_warn_on_missing_pages(capsys, tmp_path):
7675
with chdir(tmp_path):
7776
exit_code = run_cli(
@@ -85,7 +84,7 @@ def test_cat_subset_warn_on_missing_pages(capsys, tmp_path):
8584
)
8685
captured = capsys.readouterr()
8786
assert exit_code == 0, captured
88-
assert "WARN" in captured.out
87+
assert "WARN" in captured.err
8988

9089

9190
@pytest.mark.xfail() # There is currently a bug there

0 commit comments

Comments
 (0)