mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-09-14 20:59:55 +00:00
Remote call trigger support (#105)
* add support of remote task tracking * add remote call trigger implementation * docs update * add cross-service upload * add notes about user * add more ability to control upload * multipart upload with signatures as well as safe file save * configuration reference update * rename watcher methods * erase logs based on current package version Old implementation has used process id instead, but it leads to log removal in case of remote process trigger * add --server flag for setup command * restore behavior of the httploghandler
This commit is contained in:
@ -47,6 +47,16 @@ def test_parser_option_log_handler(parser: argparse.ArgumentParser) -> None:
|
||||
assert isinstance(args.log_handler, LogHandler)
|
||||
|
||||
|
||||
def test_parser_option_wait_timeout(parser: argparse.ArgumentParser) -> None:
|
||||
"""
|
||||
must convert wait-timeout option to int instance
|
||||
"""
|
||||
args = parser.parse_args(["service-config"])
|
||||
assert isinstance(args.wait_timeout, int)
|
||||
args = parser.parse_args(["--wait-timeout", "60", "service-config"])
|
||||
assert isinstance(args.wait_timeout, int)
|
||||
|
||||
|
||||
def test_multiple_architectures(parser: argparse.ArgumentParser) -> None:
|
||||
"""
|
||||
must accept multiple architectures
|
||||
|
Reference in New Issue
Block a user