mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-06 21:14:38 +08:00
tests: Download binaries for all arches
This commit is contained in:
parent
9737d5fad1
commit
4c11486261
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), ".."
|
|||
from npbackup import __main__
|
||||
from npbackup.path_helper import BASEDIR
|
||||
from npbackup.configuration import load_config, get_repo_config
|
||||
from RESTIC_SOURCE_FILES.update_restic import download_restic_binaries
|
||||
from RESTIC_SOURCE_FILES.update_restic import download_restic_binaries_for_arch
|
||||
|
||||
|
||||
if os.name == "nt":
|
||||
|
@ -91,7 +91,7 @@ def test_download_restic_binaries():
|
|||
We must first download latest restic binaries to make sure we can run all tests
|
||||
Currently we only run these on amd64
|
||||
"""
|
||||
assert download_restic_binaries("amd64"), "Could not download restic binaries"
|
||||
assert download_restic_binaries_for_arch(), "Could not download restic binaries"
|
||||
|
||||
|
||||
def test_npbackup_cli_no_config():
|
||||
|
|
Loading…
Add table
Reference in a new issue