diff --git a/scripts/release_project_sync.py b/scripts/release_project_sync.py index b8e6ab2ee7f..ab8b82ae997 100644 --- a/scripts/release_project_sync.py +++ b/scripts/release_project_sync.py @@ -54,7 +54,7 @@ def get_transifex_project(self, project_slug): """ Get openedx-translations projects from Transifex. """ - tx_api_token = self.environ.get('TX_API_TOKEN') + tx_api_token = self.environ.get('TRANSIFEX_API_TOKEN') if not tx_api_token: config = configparser.ConfigParser() config.read(expanduser('~/.transifexrc')) diff --git a/scripts/tests/test_release_project_sync.py b/scripts/tests/test_release_project_sync.py index d79b8f2b94e..d10ae1100f3 100644 --- a/scripts/tests/test_release_project_sync.py +++ b/scripts/tests/test_release_project_sync.py @@ -14,7 +14,6 @@ from . import response_data from ..release_project_sync import ( Command, - ORGANIZATION_SLUG, ) HOST = transifex_api.HOST @@ -28,7 +27,7 @@ def sync_command(**kwargs): 'resource': '', 'release_name': 'zebrawood', 'environ': { - 'TX_API_TOKEN': 'dummy-token' + 'TRANSIFEX_API_TOKEN': 'dummy-token' } } command_args.update(kwargs)