1
0
Эх сурвалжийг харах

fix: reset _CLI._subparser_action and _CLI._sub_taipyparsers on clean_parser() fixture

trgiangdo 1 жил өмнө
parent
commit
c82d6621ba

+ 3 - 0
tests/config/common/test_argparser.py

@@ -50,6 +50,9 @@ def clean_argparser():
 
     yield
 
+    _CLI._subparser_action = None
+    _CLI._sub_taipyparsers = {}
+
 
 def test_subparser(capfd):
     subcommand_1 = _CLI._add_subparser("subcommand_1", help="subcommand_1 help")