GitHub Actions Iterations
This commit is contained in:
		@ -136,7 +136,7 @@ class SemVer:
 | 
			
		||||
                    with open(file_path, "w") as file:
 | 
			
		||||
                        file.write(filedata)
 | 
			
		||||
                else:
 | 
			
		||||
                    logger.warning(
 | 
			
		||||
                    logger.info(
 | 
			
		||||
                        f"Tried to version file: '{file_path}' but it doesn't exist!"
 | 
			
		||||
                    )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -67,7 +67,7 @@ class TestSemVer(unittest.TestCase):
 | 
			
		||||
    @mock.patch("toml.load")
 | 
			
		||||
    @mock.patch("pathlib.Path.is_file")
 | 
			
		||||
    @mock.patch("builtins.open", mock.mock_open())
 | 
			
		||||
    @mock.patch("semver.logger.warning")
 | 
			
		||||
    @mock.patch("semver.logger.info")
 | 
			
		||||
    def test_update_file_version(
 | 
			
		||||
        self,
 | 
			
		||||
        mock_logger: mock.Mock,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user