This commit is contained in:
2025-03-11 20:44:06 +03:00
parent 5a6fc1d8ca
commit d30515c1a2
20 changed files with 83 additions and 77 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from argenta.command.params.flag import Flag, FlagsGroup
from argenta.command.flag import Flag, FlagsGroup
import unittest
@@ -31,7 +31,7 @@ class TestFlagsGroup(unittest.TestCase):
Flag('test2'),
Flag('test3'),
]
flags = FlagsGroup(list_of_flags)
flags = FlagsGroup(*list_of_flags)
serialized_flags = flags.unparse_to_dict()
needed_result = {'test1': {'name': 'test1',
'prefix': '--',