mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-16 07:19:57 +00:00
add package-splitt script
This commit is contained in:
@ -132,7 +132,7 @@ def test_get_local_files(github: GitHub, resource_path_root: Path, mocker: Mocke
|
||||
"""
|
||||
must get all local files recursively
|
||||
"""
|
||||
walk_mock = mocker.patch("ahriman.core.utils.walk")
|
||||
walk_mock = mocker.patch("ahriman.core.upload.github.walk")
|
||||
github.get_local_files(resource_path_root)
|
||||
walk_mock.assert_called()
|
||||
|
||||
|
@ -103,7 +103,7 @@ def test_get_local_files(s3: S3, resource_path_root: Path, mocker: MockerFixture
|
||||
"""
|
||||
must get all local files recursively
|
||||
"""
|
||||
walk_mock = mocker.patch("ahriman.core.utils.walk")
|
||||
walk_mock = mocker.patch("ahriman.core.upload.s3.walk")
|
||||
s3.get_local_files(resource_path_root)
|
||||
walk_mock.assert_called()
|
||||
|
||||
|
Reference in New Issue
Block a user