Skip to content

Commit

Permalink
rm feature
Browse files Browse the repository at this point in the history
  • Loading branch information
f-peverali committed Oct 15, 2024
1 parent b55d29e commit de0832b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/test_update_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ def test_update_index_with_redundant_version(self):
validation_result = validate_version(version, mock_file_content)
self.assertEqual(validation_result, (False, f"Version {version} already exists in index.html."))




def test_validate_version_with_incorrect_format(self, version="4.0", content=""):
"""
Test case for the `validate_version` function.
Expand Down Expand Up @@ -72,6 +69,8 @@ def test_validate_version_with_correct_format(self):
validation_result = validate_version(version,content="")
self.assertEqual(validation_result, (True, "Version has no obvious issues."))

# TODO add test for validate_version with correct version format for e.g. release candidate like 4.0.0-rc2

def test_validate_version_with_redundant_version(self):
"""
Test case for the `validate_version` function.
Expand Down Expand Up @@ -155,7 +154,6 @@ def test_find_insert_position_with_correct_previous_version_given_front_position
self.assertEqual(position_result, 10)


#TODO fix behaviour (not test)
def test_run_update_html_twice_and_determine_insertion_position(self):
"""
Test case for the `update_index_html` function.
Expand Down

0 comments on commit de0832b

Please sign in to comment.