can execute files and install packages
This commit is contained in:
parent
230cf99f06
commit
f611ef603b
3 changed files with 42 additions and 2 deletions
|
@ -3,10 +3,17 @@ from pathlib import Path
|
|||
from majordome import main
|
||||
|
||||
|
||||
def test_download_and_save_latest_asset(freetube_url, freetube_amd64_deb_mnemonic):
|
||||
def test_download_and_save_latest_asset(
|
||||
freetube_url, freetube_amd64_deb_mnemonic, freetube_tag_name_mnemonic
|
||||
):
|
||||
destination = Path(__file__).parent / "tmp"
|
||||
|
||||
main.download_latest(freetube_url, freetube_amd64_deb_mnemonic, destination)
|
||||
main.download_latest(
|
||||
freetube_url,
|
||||
freetube_amd64_deb_mnemonic,
|
||||
freetube_tag_name_mnemonic,
|
||||
destination,
|
||||
)
|
||||
|
||||
files = list(destination.glob("*"))
|
||||
assert len(files) == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue