From 9b685033b22bd3ee1bd81955a333e0e20bef02e6 Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:30:39 +0100 Subject: [PATCH] Improve test coverage --- src/towncrier/test/test_builder.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/towncrier/test/test_builder.py b/src/towncrier/test/test_builder.py index 1213e1a3..31108fdf 100644 --- a/src/towncrier/test/test_builder.py +++ b/src/towncrier/test/test_builder.py @@ -22,6 +22,10 @@ def test_invalid_category(self): parse_newfragment_basename("README.ext", ["feature"]), (None, None, None), ) + self.assertEqual( + parse_newfragment_basename("README", ["feature"]), + (None, None, None), + ) def test_counter(self): """.. generates a custom counter value."""