Skip to content
Snippets Groups Projects
Commit bdba07a1 authored by Awais Qureshi's avatar Awais Qureshi
Browse files

BOM-1491

Group name
Changed in Django 2.2:
The max_length increased from 80 to 150 characters.
parent ade9135c
No related branches found
Tags release-2021-03-02-10.35
No related merge requests found
......@@ -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
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment