feat(GODT-2782): Add category name in decribe issue view + apply review comments.

This commit is contained in:
Romain LE JEUNE
2023-08-03 09:25:00 +02:00
parent 1b95c290f1
commit cc33423c1f
15 changed files with 103 additions and 77 deletions

View File

@ -161,7 +161,7 @@ class BugReportJson:
self.error = ("category should be a dictionary.")
return False
for option in category:
if option not in ["name", "questions"]:
if option not in ["name", "questions", "hint"]:
self.error = ("Unexpected option '%s' in category." % option)
return False
if "name" not in category: