1# Copyright 2013 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4import unittest 5 6from telemetry.core import profile_types 7 8 9class ProfileTypesTest(unittest.TestCase): 10 def testGetProfileTypes(self): 11 types = profile_types.GetProfileTypes() 12 13 self.assertTrue('clean' in types) 14 self.assertTrue(len(types) > 0) 15 16 def testGetProfileDir(self): 17 self.assertFalse(profile_types.GetProfileDir('typical_user') is None) 18