Added testservice

This commit is contained in:
2025-04-15 09:09:41 +00:00
parent f5bdf81d2d
commit 83ecc3ec19
6 changed files with 46 additions and 3 deletions

View File

@ -461,10 +461,11 @@ def main():
+ " without updating service-based-view"
)
exit(1)
if args.service_type:
services = [data.service_dict.get(args.service_type)]
services = [data.get_service_with_repo_by_service_type(service_type=args.service_type)]
else:
services = data.all_services
services = data.services_with_repos()
if args.token:
api_session.headers.update({"Authorization": f"token {args.token}"})