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