clan-cli: write some unit tests

This commit is contained in:
DavHau
2023-07-21 02:01:39 +02:00
committed by Jörg Thalheim
parent a0701bf988
commit 4c4ff01b64
5 changed files with 42 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
# !/usr/bin/env python3
import argparse
import sys
import argcomplete
@@ -16,4 +17,5 @@ def clan() -> None:
clan_admin.make_parser(parser_admin)
argcomplete.autocomplete(parser)
parser.parse_args()
if len(sys.argv) == 1:
parser.print_help()