LEARNER-5050: Adds award course cert job to post to Credentials

This commit is contained in:
Jeff LaJoie
2018-06-08 15:01:42 -04:00
parent 3b5239dd27
commit b07374ed39
9 changed files with 401 additions and 60 deletions

View File

@@ -24,6 +24,9 @@ class TestCredentialsApiConfig(CredentialsApiConfigMixin, TestCase):
"""Verify that URLs returned by the model are constructed correctly."""
credentials_config = self.create_credentials_config()
expected = '{root}/api/{version}/'.format(root=CREDENTIALS_INTERNAL_SERVICE_URL.strip('/'), version=API_VERSION)
self.assertEqual(credentials_config.get_internal_api_url_for_org('nope'), expected)
expected = '{root}/api/{version}/'.format(root=CREDENTIALS_INTERNAL_SERVICE_URL.strip('/'), version=API_VERSION)
self.assertEqual(credentials_config.internal_api_url, expected)