GitHub Actions Iterations

This commit is contained in:
Semantic Versioner 2023-07-22 05:09:18 -04:00
parent 5c9bcfdac2
commit 6a2b5da00b
2 changed files with 2 additions and 2 deletions

View File

@ -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!"
)

View File

@ -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,