Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: appengine/monorail/services/test/service_manager_test.py

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is govered by a BSD-style
3 # license that can be found in the LICENSE file or at
4 # https://developers.google.com/open-source/licenses/bsd
5
6 """Tests for the service_manager module."""
7
8 import unittest
9
10 from features import autolink
11 from services import cachemanager_svc
12 from services import config_svc
13 from services import features_svc
14 from services import issue_svc
15 from services import service_manager
16 from services import project_svc
17 from services import star_svc
18 from services import user_svc
19 from services import usergroup_svc
20
21
22 class ServiceManagerTest(unittest.TestCase):
23
24 def testSetUpServices(self):
25 svcs = service_manager.set_up_services()
26 self.assertIsInstance(svcs, service_manager.Services)
27 self.assertIsInstance(svcs.autolink, autolink.Autolink)
28 self.assertIsInstance(svcs.cache_manager, cachemanager_svc.CacheManager)
29 self.assertIsInstance(svcs.user, user_svc.UserService)
30 self.assertIsInstance(svcs.user_star, star_svc.UserStarService)
31 self.assertIsInstance(svcs.project_star, star_svc.ProjectStarService)
32 self.assertIsInstance(svcs.issue_star, star_svc.IssueStarService)
33 self.assertIsInstance(svcs.project, project_svc.ProjectService)
34 self.assertIsInstance(svcs.usergroup, usergroup_svc.UserGroupService)
35 self.assertIsInstance(svcs.config, config_svc.ConfigService)
36 self.assertIsInstance(svcs.issue, issue_svc.IssueService)
37 self.assertIsInstance(svcs.features, features_svc.FeaturesService)
OLDNEW
« no previous file with comments | « appengine/monorail/services/test/project_svc_test.py ('k') | appengine/monorail/services/test/spam_svc_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698