diff options
Diffstat (limited to 'infra/build/functions/project_sync_test.py')
-rw-r--r-- | infra/build/functions/project_sync_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/infra/build/functions/project_sync_test.py b/infra/build/functions/project_sync_test.py index 34fd674c..416029d1 100644 --- a/infra/build/functions/project_sync_test.py +++ b/infra/build/functions/project_sync_test.py @@ -21,7 +21,7 @@ import unittest from google.cloud import ndb from datastore_entities import Project -from project_sync import get_access_token +from project_sync import get_github_creds from project_sync import get_projects from project_sync import ProjectMetadata from project_sync import sync_projects @@ -276,10 +276,10 @@ class TestDataSync(unittest.TestCase): self.assertEqual(get_projects(repo), {}) - def test_get_access_token(self): - """Testing get_access_token().""" + def test_get_github_creds(self): + """Testing get_github_creds().""" with ndb.Client().context(): - self.assertRaises(RuntimeError, get_access_token) + self.assertRaises(RuntimeError, get_github_creds) @classmethod def tearDownClass(cls): |