From a2c09eee8f16ff3ea3cf8371b3c78681e3a87ca3 Mon Sep 17 00:00:00 2001 From: Cary Carter Date: Fri, 17 May 2024 05:02:29 -0700 Subject: [PATCH] 1 FILE(s) | tests.py --- tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.py b/tests.py index 07069c1..2ebbc5c 100644 --- a/tests.py +++ b/tests.py @@ -5,6 +5,7 @@ import os import os.path as osp +import typing as T from shutil import rmtree from typing import Union as U, Generator as Gen, Callable as Call, Any @@ -82,7 +83,7 @@ def local_client(ranuuid_module: str, randir: str): ] -def exec_cmd(cmd: list, client: Open2FA) -> tuple[Open2FA, str]: +def exec_cmd(cmd: list, client: Open2FA) -> T.Tuple[Open2FA, str]: cmd = ['cli.py'] + [str(c) for c in cmd] with patch('sys.argv', cmd), patch( 'sys.stdout', new_callable=StringIO