We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31f648 commit db9d760Copy full SHA for db9d760
tests/test_api.py
@@ -323,6 +323,12 @@ def test_share_thumbnail(self):
323
self.assertEqual(response_version_thumbnail.get('image'),
324
response_asset_thumbnail.get('image'))
325
326
+ # raise errors when missing required params or providing conflicting ones
327
+ self.assertRaises(shotgun_api3.ShotgunError, self.sg.share_thumbnail,
328
+ [self.shot, self.asset], path, self.version)
329
330
+ [self.shot, self.asset])
331
+
332
def test_deprecated_functions(self):
333
"""Deprecated functions raise errors"""
334
self.assertRaises(shotgun_api3.ShotgunError, self.sg.schema, "foo")
0 commit comments