Merge pull request #23617 from edx/awais786/BOM-1491

BOM-1491
This commit is contained in:
Awais Qureshi
2020-04-05 21:43:38 +05:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ class TestManageGroupCommand(TestCase):
for data in TEST_DATA
for args, exception in (
((), 'too few arguments' if sys.version_info.major == 2 else 'required: group_name'), # no group name
(('x' * 81,), 'invalid group name'), # invalid group name
(('x' * 151,), 'invalid group name'), # invalid group name
((TEST_GROUP, 'some-other-group'), 'unrecognized arguments'), # multiple arguments
((TEST_GROUP, '--some-option', 'dummy'), 'unrecognized arguments') # unexpected option name
)