Skip to content

Commit

Permalink
Test version()
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 11, 2024
1 parent 56bba41 commit 1f87664
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_blurb.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,12 @@ def test_extract_next_filename(news_entry, expected_path, fs):

# Assert
assert path == expected_path


def test_version(capfd):
# Act
blurb.version()

# Assert
captured = capfd.readouterr()
assert captured.out.startswith("blurb version ")

0 comments on commit 1f87664

Please sign in to comment.