| Index: tools/telemetry/telemetry/core/profile_types_unittest.py
|
| diff --git a/tools/telemetry/telemetry/core/profile_types_unittest.py b/tools/telemetry/telemetry/core/profile_types_unittest.py
|
| index 3dcab2e6a2a64145af9e8f178fd3bb3b3b6e4cf9..764e2f229f6552b8a0aae75694c9de01ae840393 100644
|
| --- a/tools/telemetry/telemetry/core/profile_types_unittest.py
|
| +++ b/tools/telemetry/telemetry/core/profile_types_unittest.py
|
| @@ -1,11 +1,10 @@
|
| # Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
| -import os
|
| import unittest
|
|
|
| from telemetry.core import profile_types
|
| -from telemetry.core import util
|
| +
|
|
|
| class ProfileTypesTest(unittest.TestCase):
|
| def testGetProfileTypes(self):
|
| @@ -16,17 +15,3 @@ class ProfileTypesTest(unittest.TestCase):
|
|
|
| def testGetProfileDir(self):
|
| self.assertFalse(profile_types.GetProfileDir('typical_user') is None)
|
| -
|
| - def testGetProfileCreatorTypes(self):
|
| - profile_creators_dir = os.path.join(
|
| - util.GetUnittestDataDir(), 'discoverable_classes')
|
| - base_dir = util.GetUnittestDataDir()
|
| -
|
| - profile_types.FindProfileCreators(profile_creators_dir, base_dir)
|
| - types = profile_types.GetProfileTypes()
|
| - self.assertTrue(len(types) > 0)
|
| - self.assertTrue('dummy_profile' in types)
|
| -
|
| - dummy_profile_creator = profile_types.GetProfileCreator('dummy_profile')
|
| - self.assertTrue(dummy_profile_creator.__name__ == 'DummyProfileCreator')
|
| - profile_types.ClearProfieCreatorsForTests()
|
|
|