File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ def test_version_components_valid(self):
6262 # Year should be 4 digits (allow test value 9999)
6363 assert 1000 <= year <= 9999 , f"Year must be 4 digits: { year } "
6464
65- # Month should be 1-99 ( allow test value 99 )
66- assert 1 <= month <= 99 , f"Month must be 1-99 : { month } "
65+ # Month should be 1-12 (or allow 99 for test versions )
66+ assert ( 1 <= month <= 12 ) or month == 99 , f"Month must be 1-12 (or 99 for test) : { month } "
6767
6868 # Sequence should be positive
6969 assert sequence >= 1 , f"Sequence must be positive: { sequence } "
Original file line number Diff line number Diff line change @@ -213,7 +213,6 @@ def test_workflow_prevents_infinite_loops(self):
213213
214214 def test_workflow_commit_message_has_skip_marker (self ):
215215 """Test workflow ensures commits have skip marker"""
216- content = self .WORKFLOW_PATH .read_text ()
217216 script_path = Path ("/home/jailuser/git/versioning/bump_version.sh" )
218217 script_content = script_path .read_text ()
219218
You can’t perform that action at this time.
0 commit comments