diff --git a/azure-pipelines-templates/run-tests.yml b/azure-pipelines-templates/run-tests.yml index c075746e6..dc2734750 100644 --- a/azure-pipelines-templates/run-tests.yml +++ b/azure-pipelines-templates/run-tests.yml @@ -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 diff --git a/shotgun_api3/shotgun.py b/shotgun_api3/shotgun.py index 9626056d2..200717088 100644 --- a/shotgun_api3/shotgun.py +++ b/shotgun_api3/shotgun.py @@ -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. diff --git a/tests/example_config b/tests/example_config index 01501d23d..f48fedcdc 100644 --- a/tests/example_config +++ b/tests/example_config @@ -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