Skip to content

Commit 8803a53

Browse files
Satellite-QEnacooolNakul Pathak
authored
Add description key to _fields dictionary (#1324) (#1326)
Co-authored-by: Nakul Pathak <33572967+nacoool@users.noreply.github.com> Co-authored-by: Nakul Pathak <napathak@napathak-thinkpadt14gen5.punetw6.csb>
1 parent 6bb9e3a commit 8803a53

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

nailgun/entities.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,6 +2077,7 @@ class JobTemplate(
20772077
def __init__(self, server_config=None, **kwargs):
20782078
self._fields = {
20792079
'audit_comment': entity_fields.StringField(),
2080+
'description': entity_fields.StringField(),
20802081
'description_format': entity_fields.StringField(),
20812082
'effective_user': entity_fields.DictField(),
20822083
'job_category': entity_fields.StringField(),

tests/test_entities.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2874,6 +2874,7 @@ def setUp(self):
28742874
self.data = {
28752875
'id': 1,
28762876
'audit_comment': None,
2877+
'description': None,
28772878
'description_format': None,
28782879
'effective_user': None,
28792880
'job_category': 'Commands',

0 commit comments

Comments
 (0)