diff --git a/scripts/test_update_index.py b/scripts/test_update_index.py index 46d3e9d0..a3218027 100644 --- a/scripts/test_update_index.py +++ b/scripts/test_update_index.py @@ -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. @@ -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. @@ -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.