Skip to content

Commit

Permalink
add some missing api public method needed by the Jira Bridge tests an…
Browse files Browse the repository at this point in the history
…d fix some wrong data type (#332)
  • Loading branch information
barbara-darkshot authored Apr 3, 2024
1 parent 4b8f427 commit 0079944
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion shotgun_api3/lib/mockgun/mockgun.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,12 @@ def upload(self, entity_type, entity_id, path, field_name=None, display_name=Non
def upload_thumbnail(self, entity_type, entity_id, path, **kwargs):
pass

def add_user_agent(self, agent):
pass

def set_session_uuid(self, session_uuid):
pass

###################################################################################################
# internal methods and members

Expand Down Expand Up @@ -497,8 +503,9 @@ def _validate_entity_data(self, entity_type, data):
"text": six.string_types,
"serializable": dict,
"entity_type": six.string_types,
"date": datetime.date,
"date": six.string_types,
"date_time": datetime.datetime,
"duration": int,
"list": six.string_types,
"status_list": six.string_types,
"url": dict}[sg_type]
Expand Down

0 comments on commit 0079944

Please sign in to comment.