From 7d4ef7c8d59406705696d03cc3b3c192bdef5afa Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Tue, 21 Feb 2023 12:12:53 +0100 Subject: test_client.py, (...)/service.py: Add host_alias field to 'add_web_app_host'. --- test_client.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'test_client.py') diff --git a/test_client.py b/test_client.py index b646c4f..a7cb648 100755 --- a/test_client.py +++ b/test_client.py @@ -51,11 +51,12 @@ def get_web_app_hosts(): @cli.command() -@click.argument("host", type=str) -def add_web_app_host(host: str): - """Add a RWA.Support.WebApp host. Requires """ - click.echo(f"Sending D-Bus request 'add_web_app_host': {host}") - response = req.add_web_app_host(host) +@click.argument("host_url", type=str) +@click.argument("host_alias", type=str) +def add_web_app_host(host_url: str, host_alias: str): + """Add a RWA.Support.WebApp host. Requires """ + click.echo(f"Sending D-Bus request 'add_web_app_host': '{host_url}', '{host_alias}'") + response = req.add_web_app_host(host_url, host_alias) click.echo(f"Your response is: {response}") -- cgit v1.2.3