Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions azure-pipelines-templates/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ jobs:
# Pass the values needed to authenticate with the Shotgun site and create some entities.
# Remember, on a pull request from a client or on forked repos, those variables
# will be empty!
SG_SERVER_URL: $(ci_site)
SG_SCRIPT_NAME: $(ci_site_script_name)
SG_API_KEY: $(ci_site_script_key)
SG_SERVER_URL: ${{ variables.ci_site }}
SG_SCRIPT_NAME: ${{ variables.ci_site_script_name }}
SG_API_KEY: ${{ variables.ci_site_script_key }}
# The unit tests manipulate the user and project during the tests, which can cause collisions,
# so sandbox each build variant.
# Ideally, we would use the agent name here. The problem is that the agent name is in a build
Expand Down
3 changes: 2 additions & 1 deletion shotgun_api3/shotgun.py
Original file line number Diff line number Diff line change
Expand Up @@ -3273,7 +3273,8 @@ def user_subscriptions_read(self):

return self._call_rpc("user_subscriptions_read", None)

def user_subscriptions_create(self, users: list):
def user_subscriptions_create(self, users):
# type: (list[dict[str, Union[str, list[str], None]) -> bool
"""
Assign subscriptions to users.

Expand Down
2 changes: 1 addition & 1 deletion tests/example_config
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Full url to the ShotGrid server server
# e.g. https://my-site.shotgrid.autodesk.com
# be careful to not end server_url with a "/", or some tests may fail
server_url : http://0.0.0.0:3000
server_url :
# script name as key as listed in admin panel for your server
script_name : test script name
api_key : test script api key
Expand Down